GoLang get_declared_traits

request it (374)
GoLang replacement for PHP's get_declared_traits [edit | history]



Do you know a GoLang replacement for PHP's get_declared_traits? Write it!

PHP get_declared_traits

PHP original manual for get_declared_traits [ show | php.net ]

get_declared_traits

(PHP 5 >= 5.4.0, PHP 7)

get_declared_traitsReturns an array of all declared traits

Description

array get_declared_traits ( void )

Parameters

This function has no parameters.

Return Values

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

See Also