PHP Класс PHPUnit_Util_Class, qcodo

Автор: Sebastian Bergmann ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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