Property | Type | Description | |
---|---|---|---|
$_args | array | The expected arguments. | |
$_classes | array | Class dependencies. | |
$_matchers | array | The array of fully namespaced matcher classname. | |
$_name | string | The matcher name. | |
$_not | boolean | If true, the result of the test will be inverted. |
Method | Description | |
---|---|---|
__callStatic ( string $name, array $args ) : boolean | Create an Argument Matcher | |
__construct ( array $config = [] ) | Constructor | |
match ( $actual ) : boolean | Check if $actual matches the matcher. |
public __construct ( array $config = [] ) | ||
$config | array | The argument matcher options. Possible values are: - `'not'` _boolean_: indicate if the matcher is a negative matcher. - `'matcher'` _string_ : the fully namespaced matcher class name. - `'args'` _string_ : the expected arcuments. |
protected static array $_classes | ||
return | array |
protected array $_matchers | ||
return | array |
protected bool $_not | ||
return | boolean |