프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$andMask | integer | Bit mask, that should be always match | |
$notMask | integer | Bit mask to exclude specific value from matching, for example, !public | |
$orMask | integer | Bit mask, that can be used for additional check |
메소드 | 설명 | |
---|---|---|
__construct ( integer $initialMask ) | Initialize default filter with "and" mask | |
andMatch ( integer $bitMask ) | Add "and" or mask | |
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 | |
merge ( |
Merges current one filter with another one and returns a new combined filter | |
notMatch ( integer $bitMask ) | Add "not" mask | |
orMatch ( integer $bitMask ) | Add "or" mask |
public __construct ( integer $initialMask ) | ||
$initialMask | integer | Default mask for "and" |
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 |
public merge ( |
||
$filter | ||
리턴 |
protected int $notMask | ||
리턴 | integer |
protected int $orMask | ||
리턴 | integer |