Menu Samaritan's Purse

GET_DECLARED_TRAITS

Returns an array of all declared traits

SYNTAX

get_declared_traits ( void ) : array

RETURN

Returns an array with names of all declared traits in values. Returns NULL in case of a failure.

EXAMPLES

Array
(
    [0] => mytrait
)

PHP