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

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

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

Свойство Тип Описание
$first Go\Aop\Pointcut
$kind integer Returns pointcut kind
$second Go\Aop\Pointcut

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

Метод Описание
__construct ( Go\Aop\Pointcut $first, Go\Aop\Pointcut $second ) Signature method matcher constructor
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

Защищенные методы

Метод Описание
matchPart ( Go\Aop\Pointcut $pointcut, ReflectionMethod | ReflectionProperty $point, mixed $context = null, object | string | null $instance = null, array $arguments = null ) : boolean Checks if point filter matches the point

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

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

Signature method matcher constructor
public __construct ( Go\Aop\Pointcut $first, Go\Aop\Pointcut $second )
$first Go\Aop\Pointcut First filter
$second Go\Aop\Pointcut Second filter

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

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

matchPart() защищенный Метод

Checks if point filter matches the point
protected matchPart ( Go\Aop\Pointcut $pointcut, ReflectionMethod | ReflectionProperty $point, mixed $context = null, object | string | null $instance = null, array $arguments = null ) : boolean
$pointcut Go\Aop\Pointcut Pointcut part
$point ReflectionMethod | ReflectionProperty
$context mixed Related context, can be class or namespace
$instance object | string | null [Optional] Instance for dynamic matching
$arguments array [Optional] Extra arguments for dynamic matching
Результат boolean

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

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

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

protected Pointcut,Go\Aop $first
Результат Go\Aop\Pointcut

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

Returns pointcut kind
protected int $kind
Результат integer

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

protected Pointcut,Go\Aop $second
Результат Go\Aop\Pointcut