public function setSail()
    {
        $env = new Environment($_SERVER);
        if (!count($this->registry->getAll())) {
            $config = $env->fetchConfig($this->configFolder, $this->environment);
            $this->setConfig($config);
        }
        $request = ServerRequestFactory::fromGlobals($_SERVER, $_GET, $_POST, $_COOKIE, $_FILES);
        $response = new Response();
        $dispatcher = new Dispatcher($request, $response, $env);
        $dispatcher->fireCannons();
    }
public function setSail()
    {
        $env = new Environment($_SERVER);
        if (!count($this->registry->getAll())) {
            $config = $env->fetchConfig($this->configFolder, $this->environment);
            $this->setConfig($config);
        }
        $request = ServerRequestFactory::fromGlobals($_SERVER, $_GET, $_POST, $_COOKIE, $_FILES);
        $response = new Response();
        $dispatcher = new Dispatcher($request, $response, $env);
        $dispatcher->fireCannons();
    }
public function setSail ( ) { $ env = new Environment ( $ _SERVER ) ; if ( ! count ( $ this -> registry -> getAll ( ) ) ) { $ config = $ env -> fetchConfig ( $ this -> configFolder , $ this -> environment ) ; $ this -> setConfig ( $ config ) ; } $ request = ServerRequestFactory :: fromGlobals ( $ _SERVER , $ _GET , $ _POST , $ _COOKIE , $ _FILES ) ; $ response = new Response ( ) ; $ dispatcher = new Dispatcher ( $ request , $ response , $ env ) ; $ dispatcher -> fireCannons ( ) ; }
T' the high seas! Garrr!

@throws \Exception
T the high seas! Garrr!