public function NameGeneratorSpec::getMatchers in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Doubler/NameGeneratorSpec.php \spec\Prophecy\Doubler\NameGeneratorSpec::getMatchers()
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Doubler/ NameGeneratorSpec.php, line 64
Class
Namespace
spec\Prophecy\DoublerCode
public function getMatchers() {
return array(
'startWith' => function ($subject, $string) {
return 0 === strpos($subject, $string);
},
);
}