Property | Type | Description | |
---|---|---|---|
$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 |
Method | Description | |
---|---|---|
__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 |
return | boolean |
public merge ( |
||
$filter | ||
return |
protected int $andMask | ||
return | integer |
protected int $notMask | ||
return | integer |
protected int $orMask | ||
return | integer |