PHP Класс Go\Aop\Support\InheritanceClassFilter

Наследование: implements Go\Aop\PointFilter
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$parentClass string Instance class name to match

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

Метод Описание
__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

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

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

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

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

Returns the kind of point filter
public getKind ( ) : integer
Результат integer

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

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
Результат boolean

Описание свойств

$parentClass защищенное свойство

Instance class name to match
protected string $parentClass
Результат string