src/RawPHP/RawApplication/Application.php
protected function processRequest()
    {
        $route  = $this[ 'request' ]->getRoute();
        $params = $this[ 'request' ]->getParams();

        $controller = $this[ 'router' ]->createController( $route, $params );

        if ( NULL === $controller )
        {
            throw new RawException( 'Failed to Initialise Controller', 404 );
        }

        $this->controller = $controller;

        /** @var IController $controller */
        $controller->run();
    }
protected function processRequest()
    {
        $route  = $this[ 'request' ]->getRoute();
        $params = $this[ 'request' ]->getParams();

        $controller = $this[ 'router' ]->createController( $route, $params );

        if ( NULL === $controller )
        {
            throw new RawException( 'Failed to Initialise Controller', 404 );
        }

        $this->controller = $controller;

        /** @var IController $controller */
        $controller->run();
    }
protected function processRequest ( ) { $ route = $ this [ 'request' ] -> getRoute ( ) ; $ params = $ this [ 'request' ] -> getParams ( ) ; $ controller = $ this [ 'router' ] -> createController ( $ route , $ params ) ; if ( NULL === $ controller ) { throw new RawException ( 'Failed to Initialise Controller' , 404 ) ; } $ this -> controller = $ controller ; /** @var IController $controller */ $ controller -> run ( ) ; }
Processes the HTTP request.

@throws RawException
Processes the HTTP request .