PHP Класс PhpBench\Benchmark\Remote\ReflectionHierarchy

Наследование: implements IteratorAggregate
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
addReflectionClass ( ReflectionClass $reflectionClass ) Add a reflection class.
getIterator ( )
getTop ( ) : ReflectionClass Return the "top" class.
hasMethod ( string $name ) : boolean Return true if the class hierarchy contains the named method.
hasStaticMethod ( string $name ) : boolean Return true if the class hierarchy contains the named static method.
isEmpty ( ) : boolean Return true if there are no reflection classes here.

Описание методов

addReflectionClass() публичный Метод

Add a reflection class.
public addReflectionClass ( ReflectionClass $reflectionClass )
$reflectionClass ReflectionClass

getIterator() публичный Метод

public getIterator ( )

getTop() публичный Метод

Return the "top" class.
public getTop ( ) : ReflectionClass
Результат ReflectionClass

hasMethod() публичный Метод

Return true if the class hierarchy contains the named method.
public hasMethod ( string $name ) : boolean
$name string
Результат boolean

hasStaticMethod() публичный Метод

Return true if the class hierarchy contains the named static method.
public hasStaticMethod ( string $name ) : boolean
$name string
Результат boolean

isEmpty() публичный Метод

Return true if there are no reflection classes here.
public isEmpty ( ) : boolean
Результат boolean