src/Leevel/Http/Bag.php
protected function parseKeyFilter(string $key, array $filter): array
    {
        if (false !== strpos($key, '|')) {
            $temp = explode('|', $key);
            $key = array_shift($temp);
            $filter = array_merge($temp, $filter);
        }

        return [$key, $filter];
    }
protected function parseKeyFilter(string $key, array $filter): array
    {
        if (false !== strpos($key, '|')) {
            $temp = explode('|', $key);
            $key = array_shift($temp);
            $filter = array_merge($temp, $filter);
        }

        return [$key, $filter];
    }
分析键值和过滤器.

@param string $key
@param array  $filter

@return array