original_string: public function run($server=null, $stream=null)
  	{
  		$server = $server ?: $_SERVER;
  		$stream = $stream ?: fopen('php://output','w');
  		$controller = $this->controller();
  
  		// build up wrappers of middleware
  		foreach($this->_middleware as $middleware)
  			$controller = new $middleware($controller, $this);
  
  		$requestFactory = new Http\RequestFactory($server);
  		$response = $controller->execute($requestFactory->create());
  		$sender = new Http\ResponseSender($response, $stream);
  		$sender->send();
  	}
code: public function run($server=null, $stream=null)
  	{
  		$server = $server ?: $_SERVER;
  		$stream = $stream ?: fopen('php://output','w');
  		$controller = $this->controller();
  
  		// build up wrappers of middleware
  		foreach($this->_middleware as $middleware)
  			$controller = new $middleware($controller, $this);
  
  		$requestFactory = new Http\RequestFactory($server);
  		$response = $controller->execute($requestFactory->create());
  		$sender = new Http\ResponseSender($response, $stream);
  		$sender->send();
  	}
code_tokens: public function run ( $ server = null , $ stream = null ) { $ server = $ server ? : $ _SERVER ; $ stream = $ stream ? : fopen ( 'php://output' , 'w' ) ; $ controller = $ this -> controller ( ) ; // build up wrappers of middleware foreach ( $ this -> _middleware as $ middleware ) $ controller = new $ middleware ( $ controller , $ this ) ; $ requestFactory = new Http \ RequestFactory ( $ server ) ; $ response = $ controller -> execute ( $ requestFactory -> create ( ) ) ; $ sender = new Http \ ResponseSender ( $ response , $ stream ) ; $ sender -> send ( ) ; }
docstring: Processes an HTTP request, copies response to STDOUT
  @return void
docstring_tokens: Processes an HTTP request copies response to STDOUT