Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add countable interface and isEmpty method to MetadataBag, fixes #367 #390

Merged
merged 1 commit into from
Nov 11, 2014

Conversation

romainneutron
Copy link
Collaborator

No description provided.

@@ -25,6 +25,24 @@ public function __construct(array $data = array())
}

/**
* Returns true if not metadata are present.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not-> no

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@romainneutron
Copy link
Collaborator Author

@staabm I agree with your proposition, I've reduced the API

romainneutron added a commit that referenced this pull request Nov 11, 2014
Add countable interface and isEmpty method to MetadataBag, fixes #367
@romainneutron romainneutron merged commit 48e26a5 into php-imagine:develop Nov 11, 2014
@romainneutron romainneutron deleted the fix-367 branch November 11, 2014 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants