protected function filterRequest($uri, $method)
    {
        if (!empty($filtersPattern = $this->filter[$uri][$method])) {

            $filters = explode('|', $filtersPattern);

            foreach ($filters as $filter) {

                list($className, $params) = $this->getClassNameWithParams($filter);

                $name = app()->getNamespace() . 'Filters\\' . $className;

                $instance = $this->container->make($name);

                $filterResponse = call_user_func_array([$instance, 'handle'], $params);

                if(!$filterResponse instanceof Request) {
                    return $filterResponse;
                }
            }
        }
    }