static function get($key = null) { if (self::$_instance === null) { self::$_instance = new self(); } return self::$_instance->returnResponse($key); }
public function setResponse($response) { if (!self::$instance) { self::$instance = new self(); } $this->response = $response; return true; }