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

search for in the

ReflectionClass::hasConstant> <ReflectionClass::getTraitNames
[edit] Last updated: Fri, 24 Feb 2012

view this page in

ReflectionClass::getTraits

(PHP > 5.4.0)

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

Descrição

public array ReflectionClass::getTraits ( void )

Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Parâmetros

Esta função não contém parâmetros.

Valor Retornado

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
There are no user contributed notes for this page.

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