public static function get($unset = true) { $instance = self::$controlNextNewMock; if ($instance !== null && $unset === true) { self::$controlNextNewMock = null; } return $instance; }
public static function get() { $instance = self::$controlNextNewMock; if ($instance !== null) { self::$controlNextNewMock = null; } return $instance; }