PHP Class Go\Aop\Support\InheritanceClassFilter

Inheritance: implements Go\Aop\PointFilter
Mostra file Open project: goaop/framework

Protected Properties

Property Type Description
$parentClass string Instance class name to match

Public Methods

Method 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 method

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

getKind() public method

Returns the kind of point filter
public getKind ( ) : integer
return integer

matches() public method

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
return boolean

Property Details

$parentClass protected_oe property

Instance class name to match
protected string $parentClass
return string