downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ReflectionClass::isUserDefined> <ReflectionClass::isSubclassOf
[edit] Last updated: Wed, 22 May 2013

view this page in

ReflectionClass::isTrait

(PHP >= 5.4.0)

ReflectionClass::isTrait返回了是否为一个 trait

说明

public bool ReflectionClass::isTrait ( void )

Warning

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

如果是 trait 返回 TRUE,否则返回 FALSE。 在出现错误的情况下,将会返回 NULL



add a note add a note User Contributed Notes ReflectionClass::isTrait - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites