PHP 클래스 PHPUnit_Util_Class, qcodo

저자: Sebastian Bergmann ([email protected])
파일 보기 프로젝트 열기: qcodo/qcodo 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$buffer

공개 메소드들

메소드 설명
collectEnd ( ) : array Stops the collection of loaded classes and returns the names of the loaded classes.
collectStart ( ) Starts the collection of loaded classes.
getHierarchy ( string $className, boolean $asReflectionObjects = FALSE ) : array Returns the class hierarchy for a given class.
getMethodParameters ( ReflectionFunction | ReflectionMethod $method, boolean $forCall = FALSE ) : string Returns the parameters of a function or method.
getObjectAttribute ( object $object, string $attributeName ) : mixed Returns the value of an object's attribute.
getPackageInformation ( string $className, string $docComment ) : array Returns the package information of a user-defined class.
getStaticAttribute ( string $className, string $attributeName ) : mixed Returns the value of a static attribute.
parseFullyQualifiedClassName ( string $className ) : array

보호된 메소드들

메소드 설명
arrayToName ( array $parts, string $join = '\' ) : string Returns the package information of a user-defined class.

메소드 상세

arrayToName() 보호된 정적인 메소드

Returns the package information of a user-defined class.
protected static arrayToName ( array $parts, string $join = '\' ) : string
$parts array
$join string
리턴 string

collectEnd() 공개 정적인 메소드

Stops the collection of loaded classes and returns the names of the loaded classes.
public static collectEnd ( ) : array
리턴 array

collectStart() 공개 정적인 메소드

Starts the collection of loaded classes.
public static collectStart ( )

getHierarchy() 공개 정적인 메소드

Returns the class hierarchy for a given class.
public static getHierarchy ( string $className, boolean $asReflectionObjects = FALSE ) : array
$className string
$asReflectionObjects boolean
리턴 array

getMethodParameters() 공개 정적인 메소드

Returns the parameters of a function or method.
public static getMethodParameters ( ReflectionFunction | ReflectionMethod $method, boolean $forCall = FALSE ) : string
$method ReflectionFunction | ReflectionMethod
$forCall boolean
리턴 string

getObjectAttribute() 공개 정적인 메소드

This also works for attributes that are declared protected or private.
public static getObjectAttribute ( object $object, string $attributeName ) : mixed
$object object
$attributeName string
리턴 mixed

getPackageInformation() 공개 정적인 메소드

Returns the package information of a user-defined class.
public static getPackageInformation ( string $className, string $docComment ) : array
$className string
$docComment string
리턴 array

getStaticAttribute() 공개 정적인 메소드

This also works for attributes that are declared protected or private.
public static getStaticAttribute ( string $className, string $attributeName ) : mixed
$className string
$attributeName string
리턴 mixed

parseFullyQualifiedClassName() 공개 정적인 메소드

public static parseFullyQualifiedClassName ( string $className ) : array
$className string
리턴 array

프로퍼티 상세

$buffer 보호되어 있는 정적으로 프로퍼티

protected static $buffer