public function run(): void
    {
        $response = $this->routes->getResponse($this->request);
        if (!($response instanceof App\Response)) {
            $response = new App\Response\NotFound();
        }
        $this->send($response);
    }
public function run(): void
    {
        $response = $this->routes->getResponse($this->request);
        if (!($response instanceof App\Response)) {
            $response = new App\Response\NotFound();
        }
        $this->send($response);
    }
public function run ( ) : void { $ response = $ this -> routes -> getResponse ( $ this -> request ) ; if ( ! ( $ response instanceof App \ Response ) ) { $ response = new App \ Response \ NotFound ( ) ; } $ this -> send ( $ response ) ; }
Call this method to find the response in the registered routes and send it.

@return void No value is returned.
Call this method to find the response in the registered routes and send it .