Property | Type | Description | |
---|---|---|---|
$_classes | array | Class dependencies. | |
$_matchers | array | The matchers list |
Method | Description | |
---|---|---|
exists ( string $name, string $target = '' ) : boolean | Checks if a matcher is registered. | |
get ( string $name = null, string $target = '' ) : array | Returns registered matchers. | |
register ( string $name, string $class, string $target = '' ) | Registers a matcher. | |
reset ( ) | Resets the class. | |
unregister ( mixed $name, string $target = '' ) | Unregisters a matcher. |
public static unregister ( mixed $name, string $target = '' ) | ||
$name | mixed | The name of the matcher. If name is `true` unregister all the matchers. |
$target | string | An optionnal target class name. |
protected static array $_matchers | ||
return | array |