ReflectionClass::getTraitNames Returns an array of names of traits used by this class &reftitle.description; public arrayReflectionClass::getTraitNames Get the names of the traits used by this class. &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns an array with trait names in values.