public function handles(Request $request)
    {
        if (!$this->is_booted) {
            $this->boot();
        }
        $this->getContainer()->set('request', $request);
        $this->getContainer()->get('router')->setUrl($request->buildUrl());
        $mode_data = $this->getMode(true);
        if (isset($mode_data['log_requests']) && $mode_data['log_requests']) {
            \CarteBlanche\CarteBlanche::log(
                get_class($request).' :: '.$this->getContainer()->get('request')->getUrl(),
                \Library\Logger::INFO
            );
        }
        return $this;
    }