src/Compiler.php
public function addDefinition($identifier, DefinitionInterface $definition)
    {
        $this->definitions[$identifier] = $definition;
        unset($this->dumpableDefinitions[$identifier]);
    }
public function addDefinition($identifier, DefinitionInterface $definition)
    {
        $this->definitions[$identifier] = $definition;
        unset($this->dumpableDefinitions[$identifier]);
    }
Adds a definition to the list of definitions managed by this compiler.

@param string              $identifier
@param DefinitionInterface $definition