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

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

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

Свойство Тип Описание
$filterKind integer Filter kind
$modifierFilter Go\Aop\PointFilter Modifier filter for element
$name string Element name to match, can contain wildcards **,*,?,|
$regexp string Regular expression for pattern matching

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

Метод Описание
__construct ( integer $filterKind, string $name, Go\Aop\PointFilter $modifierFilter ) Signature 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

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

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

Signature matcher constructor
public __construct ( integer $filterKind, string $name, Go\Aop\PointFilter $modifierFilter )
$filterKind integer Kind of filter, e.g. KIND_CLASS
$name string Name of the entity to match or glob pattern
$modifierFilter Go\Aop\PointFilter Method modifier filter

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

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

Modifier filter for element
protected PointFilter,Go\Aop $modifierFilter
Результат Go\Aop\PointFilter

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

Element name to match, can contain wildcards **,*,?,|
protected string $name
Результат string

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

Regular expression for pattern matching
protected string $regexp
Результат string