PHP Class Go\Aop\Support\InheritanceClassFilter

Inheritance: implements Go\Aop\PointFilter
Afficher le fichier Open project: goaop/framework

Protected Properties

Свойство Type Description
$parentClass string Instance class name to match

Méthodes publiques

Méthode Description
__construct ( string $parentClassName ) Inheritance class matcher constructor
getKind ( ) : integer Returns the kind of point filter
matches ( mixed $class, null | mixed $context = null, null | string | object $instance = null, array $arguments = null ) : boolean Performs matching of point of code

Method Details

__construct() public méthode

Inheritance class matcher constructor
public __construct ( string $parentClassName )
$parentClassName string Name of the parent class or interface to match

getKind() public méthode

Returns the kind of point filter
public getKind ( ) : integer
Résultat integer

matches() public méthode

Performs matching of point of code
public matches ( mixed $class, null | mixed $context = null, null | string | object $instance = null, array $arguments = null ) : boolean
$class mixed Specific part of code, can be any Reflection class
$context null | mixed Related context, can be class or namespace
$instance null | string | object Invocation instance or string for static calls
$arguments array Dynamic arguments for method
Résultat boolean

Property Details

$parentClass protected_oe property

Instance class name to match
protected string $parentClass
Résultat string