src/Resolver.php
public function getResolver(string $type)
    {
        if (!isset($this->resolvers[$type]))
            throw new \InvalidArgumentException("Unknown resolver type: " . $type);
        return $this->resolvers[$type]['resolver'];
    }
public function getResolver(string $type)
    {
        if (!isset($this->resolvers[$type]))
            throw new \InvalidArgumentException("Unknown resolver type: " . $type);
        return $this->resolvers[$type]['resolver'];
    }
Return a resolver instance
@param string $type The resolver type to return
@return Resolver The resolver instance
@throws InvalidArgumentException When the resolver type is unknown