thrownew\RuntimeException(sprintf('A before middleware for route "%s" returned an invalid response value. Must return null or an instance of Response.',$routeName));
thrownew\RuntimeException(sprintf('An after middleware for route "%s" returned an invalid response value. Must return null or an instance of Response.',$routeName));
}
}
});
$this['request_error']=$this->protect(function(){
$this['request_error']=$this->protect(function(){
thrownew\RuntimeException('Accessed request service outside of request scope. Try moving that call to a before handler or controller.');
thrownew\RuntimeException('Accessed request service outside of request scope. Try moving that call to a before handler or controller.');
thrownew\RuntimeException(sprintf('A before middleware for route "%s" returned an invalid response value. Must return null or an instance of Response.',$routeName));
}
}
}
/**
* Runs after filters.
*
* @param FilterResponseEvent $event The event to handle
thrownew\RuntimeException(sprintf('An after middleware for route "%s" returned an invalid response value. Must return null or an instance of Response.',$routeName));