PHP 클래스 BetterReflection\Reflector\ClassReflector

상속: implements BetterReflection\Reflector\Reflector
파일 보기 프로젝트 열기: roave/better-reflection 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( BetterReflection\SourceLocator\Type\SourceLocator $sourceLocator )
buildDefaultReflector ( ) : self
getAllClasses ( ) : ReflectionClass[] Get all the classes available in the scope specified by the SourceLocator.
reflect ( string $className ) : ReflectionClass Create a ReflectionClass for the specified $className.

메소드 상세

__construct() 공개 메소드

public __construct ( BetterReflection\SourceLocator\Type\SourceLocator $sourceLocator )
$sourceLocator BetterReflection\SourceLocator\Type\SourceLocator

buildDefaultReflector() 공개 정적인 메소드

public static buildDefaultReflector ( ) : self
리턴 self

getAllClasses() 공개 메소드

Get all the classes available in the scope specified by the SourceLocator.
public getAllClasses ( ) : ReflectionClass[]
리턴 BetterReflection\Reflection\ReflectionClass[]

reflect() 공개 메소드

Create a ReflectionClass for the specified $className.
public reflect ( string $className ) : ReflectionClass
$className string
리턴 BetterReflection\Reflection\ReflectionClass