code: 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];
      }
docs: TODO : méthode à virer