ReflectionClass::isTrait

(PHP >= 5.4.0)

ReflectionClass::isTraitReturns whether this is a trait

說明

public bool ReflectionClass::isTrait ( void )

Warning

此函式目前沒有參考文件;只有引數列表。

參數

此函式沒有參數。

回傳值

Returns TRUE if this is a trait, FALSE otherwise. Returns NULL in case of an error.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top