function Global / class_uses_recursive

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