function Global / class_uses_recursive
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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