function Global / trait_uses_recursive
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

trait_uses_recursive

trait_uses_recursive ( ) : array

Returns all traits used by a trait and its traits.

Parameters

  • $trait object|string