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 support for checking trait usage to class_uses() #26

Closed
wants to merge 1 commit into from
Closed

Add support for checking trait usage to class_uses() #26

wants to merge 1 commit into from

Conversation

dshafik
Copy link
Contributor

@dshafik dshafik commented Mar 28, 2012

This patch adds support for doing:

<?php
if (class_uses($classnameOrObject, $autoload, $traitName)) {
     // returns boolean
}
?>

@dshafik dshafik closed this Mar 28, 2012
php-pulls pushed a commit that referenced this pull request Apr 9, 2013
php-pulls pushed a commit that referenced this pull request Apr 9, 2013
* PHP-5.5:
  Fixed issue #26 (added opcache_invalidate(string $filename [, bool $force = false]) function)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant