function
Global
/
class_uses_recursive
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
class_uses_recursive
class_uses_recursive ( ) : array
Returns all traits used by a class, its parent classes and trait of their traits.
Parameters
- $class object|string