protected function addWhereClausesToRoute(RouteContract $route): void
    {
        $where   = $route->getAction()['where'] ?? [];
        $pattern = \array_merge($this->patterns, $where);

        foreach ($pattern as $name => $value) {
            $route->where($name, $value);
        }
    }