Coduo\PHPMatcher\Factory\SimpleFactory::createMatcher PHP Method

createMatcher() public method

public createMatcher ( ) : Coduo\PHPMatcher\Matcher
return Coduo\PHPMatcher\Matcher
    public function createMatcher()
    {
        return new Matcher($this->buildMatchers());
    }

Usage Example

Example #1
0
 public function setUp()
 {
     parent::setUp();
     $this->client = new Client(['base_uri' => self::BASEURL]);
     $matcherFactory = new SimpleFactory();
     $this->matcher = $matcherFactory->createMatcher();
 }
All Usage Examples Of Coduo\PHPMatcher\Factory\SimpleFactory::createMatcher