/** * Private HttpService constructor. */ private function __construct() { $this->session = new Session(); $this->request = Request::detect($this->session); $this->response = new Response(); }