src/EnvironmentLoader.php
private function extendContainer($tag, Definition $definition, $identifier = '')
    {
        if ('' !== $identifier) {
            $identifier .= '.';
        }

        $this->container
          ->setDefinition("$this->configKey.$identifier$tag", $definition)
          ->addTag($tag);
    }
private function extendContainer($tag, Definition $definition, $identifier = '')
    {
        if ('' !== $identifier) {
            $identifier .= '.';
        }

        $this->container
          ->setDefinition("$this->configKey.$identifier$tag", $definition)
          ->addTag($tag);
    }
private function extendContainer ( $ tag , Definition $ definition , $ identifier = '' ) { if ( '' !== $ identifier ) { $ identifier .= '.' ; } $ this -> container -> setDefinition ( "$this->configKey.$identifier$tag" , $ definition ) -> addTag ( $ tag ) ; }
Add dependency to DI container.

@param string $tag
@param Definition $definition
@param string $identifier
Add dependency to DI container .