ReflectionClass ��

(PHP 5, PHP 7)

���

ReflectionClass �౨����һ������й���Ϣ��

��ժҪ

ReflectionClass implements Reflector {
/* ���� */
const integer IS_IMPLICIT_ABSTRACT = 16 ;
const integer IS_EXPLICIT_ABSTRACT = 32 ;
const integer IS_FINAL = 64 ;
/* ���� */
public $name ;
/* ���� */
public __construct ( mixed $argument )
public static export ( mixed $argument [, bool $return = false ] ) : string
public getConstant ( string $name ) : mixed
public getConstants ( void ) : array
public getConstructor ( void ) : ReflectionMethod
public getDefaultProperties ( void ) : array
public getDocComment ( void ) : string
public getEndLine ( void ) : int
public getExtensionName ( void ) : string
public getFileName ( void ) : string
public getInterfaceNames ( void ) : array
public getInterfaces ( void ) : array
public getMethod ( string $name ) : ReflectionMethod
public getMethods ([ int $filter ] ) : array
public getModifiers ( void ) : int
public getName ( void ) : string
public getNamespaceName ( void ) : string
public getParentClass ( void ) : ReflectionClass
public getProperties ([ int $filter ] ) : array
public getProperty ( string $name ) : ReflectionProperty
public getReflectionConstants ( void ) : array
public getShortName ( void ) : string
public getStartLine ( void ) : int
public getStaticProperties ( void ) : array
public getStaticPropertyValue ( string $name [, mixed &$def_value ] ) : mixed
public getTraitAliases ( void ) : array
public getTraitNames ( void ) : array
public getTraits ( void ) : array
public hasConstant ( string $name ) : bool
public hasMethod ( string $name ) : bool
public hasProperty ( string $name ) : bool
public implementsInterface ( string $interface ) : bool
public inNamespace ( void ) : bool
public isAbstract ( void ) : bool
public isAnonymous ( void ) : bool
public isCloneable ( void ) : bool
public isFinal ( void ) : bool
public isInstance ( object $object ) : bool
public isInstantiable ( void ) : bool
public isInterface ( void ) : bool
public isInternal ( void ) : bool
public isIterable ( void ) : bool
public isIterateable ( void ) : bool
public isSubclassOf ( string $class ) : bool
public isTrait ( void ) : bool
public isUserDefined ( void ) : bool
public newInstance ( mixed $args [, mixed $... ] ) : object
public newInstanceArgs ([ array $args ] ) : object
public newInstanceWithoutConstructor ( void ) : object
public setStaticPropertyValue ( string $name , string $value ) : void
public __toString ( void ) : string
}

����

name

������ơ�ֻ�������ڳ��Ը�ֵ��ʱ����׳� ReflectionException��

Ԥ���峣��

ReflectionClass ���η�

ReflectionClass::IS_IMPLICIT_ABSTRACT

ָʾ������һ�������ࣨabstract���� ��Ϊ���г���abstract��������

ReflectionClass::IS_EXPLICIT_ABSTRACT

ָʾ������һ�������ࣨabstract���� ��Ϊ������ȷ���塣

ReflectionClass::IS_FINAL

ָʾ����һ�� final �ࡣ

Table of Contents