original_string: public function serverAction()
      {
          chdir($this->application->config('directory.document_root'));
          $host = $this->request->get('host', 'localhost');
          $port = $this->request->get('port', 8888);
          passthru(sprintf('php -S %s:%s index.php', $host, $port));
      }
code: public function serverAction()
      {
          chdir($this->application->config('directory.document_root'));
          $host = $this->request->get('host', 'localhost');
          $port = $this->request->get('port', 8888);
          passthru(sprintf('php -S %s:%s index.php', $host, $port));
      }
code_tokens: public function serverAction ( ) { chdir ( $ this -> application -> config ( 'directory.document_root' ) ) ; $ host = $ this -> request -> get ( 'host' , 'localhost' ) ; $ port = $ this -> request -> get ( 'port' , 8888 ) ; passthru ( sprintf ( 'php -S %s:%s index.php' , $ host , $ port ) ) ; }
docstring: start server action.
docstring_tokens: start server action .