src/Dispatch/AppRunner.php
protected function doExecute()
    {
        // Prepare some variables that come in handy in apps
        extract($this->variables);
    
        // Set the arguments
        $arguments = $this->arguments;

        // Get the app to execute
        $path = $this->app;

        self::$logger->debug("Including {0}", [$path]);
        $resp = include $path;

        return $resp;
    }
protected function doExecute()
    {
        // Prepare some variables that come in handy in apps
        extract($this->variables);
    
        // Set the arguments
        $arguments = $this->arguments;

        // Get the app to execute
        $path = $this->app;

        self::$logger->debug("Including {0}", [$path]);
        $resp = include $path;

        return $resp;
    }
protected function doExecute ( ) { // Prepare some variables that come in handy in apps extract ( $ this -> variables ) ; // Set the arguments $ arguments = $ this -> arguments ; // Get the app to execute $ path = $ this -> app ; self :: $ logger -> debug ( "Including {0}" , [ $ path ] ) ; $ resp = include $ path ; return $ resp ; }
A wrapper to execute / include the selected route.  It puts the
app in a private scope, which access to a set of predefined variables.

@param string $path The file to execute
@return mixed The response produced by the script, if any
A wrapper to execute / include the selected route . It puts the app in a private scope which access to a set of predefined variables .