get_declared_traits

Returns an array of all declared traits

Description

array get_declared_traits()

Parameters

This function has no parameters.

Return Values

Returns an array with names of all declared traits in values.

See Also

  • class_uses
  • trait_exists