프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 array $_matchers | ||
리턴 | array |
protected bool $_not | ||
리턴 | boolean |