PHP Class PhpBench\Benchmark\Remote\ReflectionHierarchy

Inheritance: implements IteratorAggregate
Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getIterator() public méthode

public getIterator ( )

getTop() public méthode

Return the "top" class.
public getTop ( ) : ReflectionClass
Résultat ReflectionClass

hasMethod() public méthode

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

hasStaticMethod() public méthode

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

isEmpty() public méthode

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