protected function processGlobal($request, $response)
    {
        $args = array($request, $response);
        foreach ($this->globalMiddleware as $callback) {
            //bind callback
            $callback = $callback->bindTo($this, get_class($this));
            
            if (call_user_func_array($callback, $args) === false) {
                return false;
            }
        }
        
        return true;
    }
protected function processGlobal($request, $response)
    {
        $args = array($request, $response);
        foreach ($this->globalMiddleware as $callback) {
            //bind callback
            $callback = $callback->bindTo($this, get_class($this));
            
            if (call_user_func_array($callback, $args) === false) {
                return false;
            }
        }
        
        return true;
    }
protected function processGlobal ( $ request , $ response ) { $ args = array ( $ request , $ response ) ; foreach ( $ this -> globalMiddleware as $ callback ) { //bind callback $ callback = $ callback -> bindTo ( $ this , get_class ( $ this ) ) ; if ( call_user_func_array ( $ callback , $ args ) === false ) { return false ; } } return true ; }
Process global middleware

@param Eden\Registry\Index $request  The request object
@param Eden\Registry\Index $response The response object

@return bool
Process global middleware