downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ReflectionClass::hasConstant> <ReflectionClass::getTraitNames
[edit] Last updated: Fri, 17 May 2013

view this page in

ReflectionClass::getTraits

(PHP >= 5.4.0)

ReflectionClass::getTraitsReturns an array of traits used by this class

Description

public array ReflectionClass::getTraits ( void )

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

Returns an array with trait names in keys and instances of trait's ReflectionClass in values. Returns NULL in case of an error.



add a note add a note User Contributed Notes ReflectionClass::getTraits - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites