ReflectionClass::isTrait
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
ReflectionClass::isTrait — Returns whether this is a trait
Опис
public ReflectionClass::isTrait():
bool
Параметри
У цієї функції немає
параметрів.
Значення, що повертаються
Returns true
if this is a trait, false
otherwise.