public function filterExcept($patterns = [])
    {
        if (empty($patterns)) {
            return $this;
        }

        $toExclude = $this->filterMatch($patterns)->keys()->toArray();

        return $this->except($toExclude);
    }
public function filterExcept($patterns = [])
    {
        if (empty($patterns)) {
            return $this;
        }

        $toExclude = $this->filterMatch($patterns)->keys()->toArray();

        return $this->except($toExclude);
    }
public function filterExcept ( $ patterns = [ ] ) { if ( empty ( $ patterns ) ) { return $ this ; } $ toExclude = $ this -> filterMatch ( $ patterns ) -> keys ( ) -> toArray ( ) ; return $ this -> except ( $ toExclude ) ; }
Exclude routes that match patterns.

@param array <array|string> $patterns

@return static
Exclude routes that match patterns .