src/Resolver/Collection/ResolverCollection.php
public function resolve(string $variable)
    {
        foreach ($this as $resolver) {
            if ($resolver->isMatch($variable)) {
                return $resolver->resolve($variable);
            }
        }

        throw new UnmatchedException('Variable pattern "'.$variable.'" is not matching any resolvers.');
    }
public function resolve(string $variable)
    {
        foreach ($this as $resolver) {
            if ($resolver->isMatch($variable)) {
                return $resolver->resolve($variable);
            }
        }

        throw new UnmatchedException('Variable pattern "'.$variable.'" is not matching any resolvers.');
    }
Get value

@param string $variable
@return mixed
@throws \Ds\Component\Resolver\Exception\UnresolvedException