src/Entry/ProviderEntry.php
public function getValue(ContainerInterface $container)
    {
        $provider = $container->get($this->provider);

        if (!\is_object($provider)) {
            throw new ContainerException('Unexpected value returned for the provider object by the container');
        }

        return $provider->{$this->method}($container);
    }
public function getValue(ContainerInterface $container)
    {
        $provider = $container->get($this->provider);

        if (!\is_object($provider)) {
            throw new ContainerException('Unexpected value returned for the provider object by the container');
        }

        return $provider->{$this->method}($container);
    }
{@inheritdoc}