PHP Class PhpBench\Benchmark\Remote\ReflectionHierarchy

Inheritance: implements IteratorAggregate
Datei anzeigen Open project: dantleech/phpbench Class Usage Examples

Public Methods

Method Description
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.

Method Details

addReflectionClass() public method

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

getIterator() public method

public getIterator ( )

getTop() public method

Return the "top" class.
public getTop ( ) : ReflectionClass
return ReflectionClass

hasMethod() public method

Return true if the class hierarchy contains the named method.
public hasMethod ( string $name ) : boolean
$name string
return boolean

hasStaticMethod() public method

Return true if the class hierarchy contains the named static method.
public hasStaticMethod ( string $name ) : boolean
$name string
return boolean

isEmpty() public method

Return true if there are no reflection classes here.
public isEmpty ( ) : boolean
return boolean