public static getInstance ( ) : TestCase | ||
return | TestCase |
public static function getInstance()
{
if (!isset(self::$_instance)) {
new self();
}
return self::$_instance;
}
/** * {@inheritdoc} */ public function __construct(Config $config, Logger $logger = null) { parent::__construct($config, $logger); $this->test = TestCase::getInstance(); }