Eloquent\Phony\Simpletest\SimpletestFacadeDriver::instance PHP Method

instance() public static method

Get the static instance of this driver.
public static instance ( ) : FacadeDriver
return Eloquent\Phony\Facade\FacadeDriver The static driver.
    public static function instance()
    {
        if (!self::$instance) {
            self::$instance = new self();
        }
        return self::$instance;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Get the facade driver.
  *
  * @return FacadeDriver The facade driver.
  */
 protected static function driver()
 {
     return SimpletestFacadeDriver::instance();
 }
All Usage Examples Of Eloquent\Phony\Simpletest\SimpletestFacadeDriver::instance
SimpletestFacadeDriver