code: public function addDefinition($identifier, DefinitionInterface $definition)
      {
          $this->definitions[$identifier] = $definition;
          unset($this->dumpableDefinitions[$identifier]);
      }
docs: Adds a definition to the list of definitions managed by this compiler.
  
  @param string              $identifier
  @param DefinitionInterface $definition