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;
    }