ReflectionClass::getTraitNames

Returns an array of names of traits used by this class

Description

public array ReflectionClass::getTraitNames()

Get the names of the traits used by this class.

Parameters

This function has no parameters.

Return Values

Returns an array with trait names in values.