(PHP 5 >= 5.4.0, PHP 7)
ReflectionClass::isTrait — Returns whether this is a trait
Esta função não está documentada; somente a lista de argumentos está disponível.
Esta função não possui parâmetros.
Returns true
if this is a trait, false
otherwise.
Returns null
in case of an error.