getTraitNames() public method

You may optionally specify a source locator that will be used to locate the traits. If no source locator is given, a default will be used.
public getTraitNames ( ) : string[]
return string[]
 /**
  * {@inheritDoc}
  */
 public function getTraitNames()
 {
     return $this->betterReflectionClass->getTraitNames();
 }