src/Container.php
public function add(string $alias, DefinitionInterface $definition) : void
    {
        $this->definitions[$alias] = $definition;
    }
public function add(string $alias, DefinitionInterface $definition) : void
    {
        $this->definitions[$alias] = $definition;
    }
Add

Adds a definition to the $definition array.

@param string              $alias
@param DefinitionInterface $definition