Property | Type | Description | |
---|---|---|---|
$functionName | string | Function name to match, can contain wildcards *,? | |
$nsFilter | Go\Aop\PointFilter | ||
$regexp | string | Regular expression for matching |
Method | Description | |
---|---|---|
__construct ( string $functionName ) | Function matcher constructor | |
getClassFilter ( ) : Go\Aop\PointFilter | Return the class filter for this pointcut. | |
getKind ( ) : integer | Returns the kind of point filter | |
matches ( mixed $function, mixed $context = null, null | string | object $instance = null, array $arguments = null ) : boolean | Performs matching of point of code | |
setNamespaceFilter ( $nsFilter ) |
public __construct ( string $functionName ) | ||
$functionName | string | Name of the function to match or glob pattern |
public getClassFilter ( ) : Go\Aop\PointFilter | ||
return | Go\Aop\PointFilter |
public matches ( mixed $function, mixed $context = null, null | string | object $instance = null, array $arguments = null ) : boolean | ||
$function | mixed | Specific part of code, can be any Reflection class |
$context | 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 |
protected string $functionName | ||
return | string |
protected string $regexp | ||
return | string |