Class ToBeString
Verify whether the value is string type.
$matcher = new ToBeString(); $matcher->match('foo'); //return true $matcher->match(1); //return false
- expect\matcher\ToBeString 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/ToBeString.php
Namespace: expect\matcher
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at matcher/ToBeString.php
public
|
reportFailed(),
reportNegativeFailed()
|
match()
|
match(),
reportFailed(),
reportNegativeFailed()
|