Свойство | Тип | Описание | |
---|---|---|---|
$_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. |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | array |
protected array $_matchers | ||
Результат | array |
protected bool $_not | ||
Результат | boolean |