PHP Класс Go\Aop\Pointcut\TruePointcut

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

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

Свойство Тип Описание
$filterKind integer Filter kind

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

Метод Описание
__construct ( integer $filterKind = self::KIND_ALL ) Default constructor can be used to specify concrete filter kind
getKind ( ) : integer Returns the kind of point filter
matches ( mixed $point, null | mixed $context = null, null | string | object $instance = null, array $arguments = null ) : boolean Performs matching of point of code

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

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

Default constructor can be used to specify concrete filter kind
public __construct ( integer $filterKind = self::KIND_ALL )
$filterKind integer Kind of filter, e.g. KIND_METHOD

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

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

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

Performs matching of point of code
public matches ( mixed $point, null | mixed $context = null, null | string | object $instance = null, array $arguments = null ) : boolean
$point 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

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

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

Filter kind
protected int $filterKind
Результат integer