src/Control/HTTPApplication.php
public function handle(HTTPRequest $request)
    {
        $flush = array_key_exists('flush', $request->getVars()) || ($request->getURL() === 'dev/build');

        // Ensure boot is invoked
        return $this->execute($request, function (HTTPRequest $request) {
            return Director::singleton()->handleRequest($request);
        }, $flush);
    }
public function handle(HTTPRequest $request)
    {
        $flush = array_key_exists('flush', $request->getVars()) || ($request->getURL() === 'dev/build');

        // Ensure boot is invoked
        return $this->execute($request, function (HTTPRequest $request) {
            return Director::singleton()->handleRequest($request);
        }, $flush);
    }
public function handle ( HTTPRequest $ request ) { $ flush = array_key_exists ( 'flush' , $ request -> getVars ( ) ) || ( $ request -> getURL ( ) === 'dev/build' ) ; // Ensure boot is invoked return $ this -> execute ( $ request , function ( HTTPRequest $ request ) { return Director :: singleton ( ) -> handleRequest ( $ request ) ; } , $ flush ) ; }
Handle the given HTTP request

@param HTTPRequest $request
@return HTTPResponse
Handle the given HTTP request