original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: T' the high seas! Garrr!
  
  @throws \Exception
docstring_tokens: T the high seas! Garrr!