protected function __construct() { parent::__construct(); // load container and dependencies $this->container->bindSingleton("Router", '\\TitaPHP\\Http\\Router'); $this->container->bindSingleton("Session", '\\Symfony\\Component\\HttpFoundation\\Session\\Session'); $this->container->singleton("Request", Request::createFromGlobals()); $this->container->bindSingleton("Response", '\\Symfony\\Component\\HttpFoundation\\Response'); }