*/ class FactoryDefinition implements Definition { /** Entry name. */ private string $name; /** * Callable that returns the value. * @var callable */ private $factory; /** * Factory parameters. * @var mixed[] */ private array $parameters; /** * @param string $name Entry name * @param callable|array|string $factory Callable that returns the value associated to the entry name. * @param array $parameters Parameters to be passed to the callable */ public function __construct(string $name, callable|array|string $factory, array $parameters = []) { $this->name = $name; $this->factory = $factory; $this->parameters = $parameters; } public function getName(): string { return $this->name; } public function setName(string $name): void { $this->name = $name; } /** * @return callable|array|string Callable that returns the value associated to the entry name. */ public function getCallable(): callable|array|string { return $this->factory; } /** * @return array Array containing the parameters to be passed to the callable, indexed by name. */ public function getParameters(): array { return $this->parameters; } public function replaceNestedDefinitions(callable $replacer): void { $this->parameters = array_map($replacer, $this->parameters); } public function __toString(): string { return 'Factory'; } }__halt_compiler();----SIGNATURE:----0XCAP6mBWkiSXBeMCxdDMEmZ0ZXepmgMWX5sSlDYPM4YyfrqA4XiEZ8WTEMcu8AwwABaSiDHbQlDo/50sFKq44E5kIzTBKQX4I2ly8vILFAiPdi11Or9TE3DFd/upERaYmtwXNzjOl1a3xiaGf/eSivv3AkcsKWkFMd9av7Z85SnmbFIjbdTDH5W2mns1pScsYttaJr70s/nXN4PG49qVWfDNAHQ9jSswCcnRaf4KyZpvasTvRUlxp1xAKgk6V2uO/NJFJM/jSvackGojzPAO/WW77FiDAU5rCGtJ60Lyw+EwcexhTzLk+UZ3CMvPleS7bpcbUqhKJxuD9XTfoDaLZe6aQW7yWjmVUmsI1Jem5+6GkxNHOCg/a1u2v9Y0IsffoiMy+EETY6SQqf5VvDRI0N2AvKGKbqNEHDb86ZiY9DCEniClKW17snHo9Qka1f/1ZboHlSgPDuJQqtk3cmFfU8H5GhT7D1mr+aoUq0Xt/TnL8/gee90IQ3FoChl0qmSIpk3jNQeLNwhs+K21Ge7v/2e1cifRDw9RQMQytod1FhDLghnGVDQNoWSdJ0c/y/+vmuNaWNOpNu6VfIGfGGTTeF74ojlgeKG4qkpSI1i9zbo9L0wIhvfA8hkpcP6x8geS+Pu2CMSseFdchtvB4WYyIWBvGjIMzxEh7rCONU56eQ=----ATTACHMENT:----OTQ4Njg4MTIyMDA3MjU1IDg0MTkzMDI2MDgzMjQ2OTUgNDE5OTk4OTE1Njk1MTczNA==