You are here

public function NameGeneratorSpec::getMatchers in Zircon Profile 8

Same name and namespace in other branches
  1. 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

NameGeneratorSpec

Namespace

spec\Prophecy\Doubler

Code

public function getMatchers() {
  return array(
    'startWith' => function ($subject, $string) {
      return 0 === strpos($subject, $string);
    },
  );
}