Class ToBeArray
Verify whether the value is array type.
$matcher = new ToBeArray(); $matcher->match([]); //return true $matcher->match(null); //return false
- expect\matcher\ToBeArray implements expect\matcher\ReportableMatcher uses expect\matcher\TypeMatcherDelegatable
Final
Namespace: expect\matcher
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at matcher/ToBeArray.php
Namespace: expect\matcher
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at matcher/ToBeArray.php
public
|
reportFailed(),
reportNegativeFailed()
|
match()
|
match(),
reportFailed(),
reportNegativeFailed()
|