src/Resolver.php
protected function resolveMany($group, string $id = Group::DEFAULT_ID): MiddlewareCollection
    {
        $group = $group instanceof MiddlewareCollection ? clone $group : $this->collection($group, $id);
        foreach ($group as $key => $middleware) {
            $middleware = $this->resolveOne($middleware, $key);
            if ($middleware !== false) {
                $group->put($key, $middleware);
            }
        }
        return $group;
    }
protected function resolveMany($group, string $id = Group::DEFAULT_ID): MiddlewareCollection
    {
        $group = $group instanceof MiddlewareCollection ? clone $group : $this->collection($group, $id);
        foreach ($group as $key => $middleware) {
            $middleware = $this->resolveOne($middleware, $key);
            if ($middleware !== false) {
                $group->put($key, $middleware);
            }
        }
        return $group;
    }
Resolve a group of middleware.

@param mixed $group
@param string $id
@return \MichaelRShelton\MiddleMan\Interfaces\MiddlewareCollection