src/ContainerAbstract.php
public function getDefinition(string $name): DefinitionInterface
    {
        $name = $this->getAlias($name);

        if (! array_key_exists($name, $this->definitions)) {
            throw new InvalidArgumentException($name);
        }

        return $this->definitions[$name];
    }
public function getDefinition(string $name): DefinitionInterface
    {
        $name = $this->getAlias($name);

        if (! array_key_exists($name, $this->definitions)) {
            throw new InvalidArgumentException($name);
        }

        return $this->definitions[$name];
    }
TODO : méthode à virer