instance() 공개 정적인 메소드

Get the static instance of this driver.
public static instance ( ) : Eloquent\Phony\Matcher\MatcherDriver
리턴 Eloquent\Phony\Matcher\MatcherDriver The static driver.
예제 #1
0
 /**
  * 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());
 }