DI\Definition\Helper\FactoryDefinitionHelper::getDefinition PHP Метод

getDefinition() публичный Метод

public getDefinition ( string $entryName ) : FactoryDefinition
$entryName string Container entry name
Результат DI\Definition\FactoryDefinition
    public function getDefinition($entryName)
    {
        if ($this->decorate) {
            return new DecoratorDefinition($entryName, $this->factory, $this->scope, $this->parameters);
        }
        return new FactoryDefinition($entryName, $this->factory, $this->scope, $this->parameters);
    }