|
class_usesReturn the traits used by the given class Description
arrayfalse class_uses(objectstring
$object_or_class , bool $autoload = true )
This function returns an array with the names of the traits that the
given Parameters
Return Values
An array on success, or Examples
Example #1 class_uses example
The above example will output something similar to: Array ( [foo] => foo ) Array ( [foo] => foo ) Array ( [trait_of_not_loaded] => trait_of_not_loaded ) See Also
|