ReflectionClass::getTraits Returns an array of traits used by this class &reftitle.description; public arrayReflectionClass::getTraits &warn.undocumented.func; &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns an array with trait names in keys and instances of trait's ReflectionClass in values. Returns &null; in case of an error.