Get the static instance of this driver.
public static instance ( ) : |
||
Résultat | The static driver. |
/** * Turn on or off the use of ANSI colored output. * * Pass `null` to detect automatically. * * @param bool|null $useColor True to use color. */ function setUseColor($useColor) { $facade = PhpunitFacadeDriver::instance(); $facade->assertionRenderer->setUseColor($useColor); $facade->differenceEngine->setUseColor($useColor); }
/** * Get the facade driver. * * @return FacadeDriver The facade driver. */ protected static function driver() { return PhpunitFacadeDriver::instance(); }