*/ class FactoryDefinitionHelper implements DefinitionHelper { /** @var callable */ private $factory; private bool $decorate; private array $parameters = []; /** * @param bool $decorate Is the factory decorating a previous definition? */ public function __construct(callable|array|string $factory, bool $decorate = false) { $this->factory = $factory; $this->decorate = $decorate; } public function getDefinition(string $entryName): FactoryDefinition { if ($this->decorate) { return new DecoratorDefinition($entryName, $this->factory, $this->parameters); } return new FactoryDefinition($entryName, $this->factory, $this->parameters); } /** * Defines arguments to pass to the factory. * * Because factory methods do not yet support attributes or autowiring, this method * should be used to define all parameters except the ContainerInterface and RequestedEntry. * * Multiple calls can be made to the method to override individual values. * * @param string $parameter Name or index of the parameter for which the value will be given. * @param mixed $value Value to give to this parameter. * * @return $this */ public function parameter(string $parameter, mixed $value): self { $this->parameters[$parameter] = $value; return $this; } }__halt_compiler();----SIGNATURE:----NDe4Wuw9/N+jOYiZNwOi2rWBtxZgK+FmeypyAc/gnNsuZ38GXmTT3M6KjH7F29SjPh+td3GM7AEeuFiFkfke/kytYnjqrVRG3lFRXPCnsINLNPafr0Tgibvn/Y+LS6PZCufut47gVjT/R4qXrW8UxRagcX/eeJcCWJ5tZL1tVpAYoIpWqoN9vsF5pbFQiUhSVdcJq7qvDLkigU6NWeOHKIfEHLLWAk+Gxadt6zGN9HyxZbhWSLGGelTBHeJBNd7oYyZmNwnkUqCKfXRuIuDyU53F7Lshx4OaFgjTJx58YkNbzJW6rB0MZsjT4RHiIXUQugnV/9Krpzc6r5YCQqPtj6G0a+fQnKkuwIX/fsLUWUf5f03cl3lSWFq43m7iuXgyLD4+vx7Ak4KJjVXGoIwZAQkrmgls/SH7lLNXgIzWusD9576WQuN0JQvsZ3Tokwm1nQu9AEEC65zqBBOUedrF0F2jpi0SjinXNbc+52uUOII9h9+8nhn/sT0u2XFIXnz0gAZNZhxzk0HIOzRg0+/wUXUG5pYM/QY/VHGiYQjAsXr0EOYX6Tf1tQgLBM1NooeK6pPvQBC6ot9lhvmsaDi8fNcUxzaeHG7bOeqGLNpQmJ4dgn9r6xei9ABSPLztJWJQz6imodF0/uuaX99KWExqXxk0Hhey73vqFKt+/ihpjGY=----ATTACHMENT:----NzkyNTQ3NjQzNDM1OTg4MiAyNDE0NzQzMzczNzE4ODMyIDYyNTgxOTA1NzY4NjYwMzI=