function Global / trait_uses_recursive

trait_uses_recursive

trait_uses_recursive ( ) : array

Returns all traits used by a trait and its traits.

Parameters

  • $trait object|string