Get the static instance of this driver.
public static instance ( ) : Eloquent\Phony\Matcher\MatcherDriver | ||
Результат | Eloquent\Phony\Matcher\MatcherDriver | The static driver. |
/** * Add the default matcher drivers. */ public function addDefaultMatcherDrivers() { $this->addMatcherDriver(HamcrestMatcherDriver::instance()); $this->addMatcherDriver(CounterpartMatcherDriver::instance()); $this->addMatcherDriver(PhpunitMatcherDriver::instance()); $this->addMatcherDriver(SimpletestMatcherDriver::instance()); $this->addMatcherDriver(PhakeMatcherDriver::instance()); $this->addMatcherDriver(ProphecyMatcherDriver::instance()); $this->addMatcherDriver(MockeryMatcherDriver::instance()); }