src/Application.php
public function run(ServerRequestInterface $request = null)
    {
        $request = $request ?: ServerRequestFactory::fromGlobals();

        $response = $this->handle($request);

        $this->responseEmitter->emit($response);
    }
public function run(ServerRequestInterface $request = null)
    {
        $request = $request ?: ServerRequestFactory::fromGlobals();

        $response = $this->handle($request);

        $this->responseEmitter->emit($response);
    }
public function run ( ServerRequestInterface $ request = null ) { $ request = $ request ? : ServerRequestFactory :: fromGlobals ( ) ; $ response = $ this -> handle ( $ request ) ; $ this -> responseEmitter -> emit ( $ response ) ; }
Handle the global incoming request and sends the response.

@see handle() to handle an HTTP request and not write the response to the output.
Handle the global incoming request and sends the response .