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

Closed
wants to merge 1 commit into
from

Projects

None yet

1 participant

@dshafik
Contributor
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 php-pulls pushed a commit that referenced this pull request Apr 9, 2013
@dstogov dstogov Fixed issue #26 (added opcache_invalidate(string $filename [, bool $f…
…orce = false]) function)
4cf00c0
@php-pulls php-pulls pushed a commit that referenced this pull request Apr 9, 2013
@dstogov dstogov Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed issue #26 (added opcache_invalidate(string $filename [, bool $force = false]) function)
1d8b6de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment