Ergo\Routing\FilteredController::filter PHP Method

filter() protected method

Filter a request and response and return the response
protected filter ( $request ) : response
return response
    protected function filter($request)
    {
        return $this->_applyFilter($this->_responses, $this->_controller->execute($this->_applyFilter($this->_requests, $request)));
    }