-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
featureNew featureNew feature
Description
Подумать над тем чтобы учитывать как параметр в конфигураторе
env// config/services_app.php
return static function(DefinitionsConfigurator $configurator, string $env) {}Можно ввести сущность Environment (EnvironmentInterface) которую прокидывать в DiContainerConfig. Далее дать доступ к ней в DefinitionsConfigurator, либо прокинуть в
// config/services_app.php return static function(DefinitionsConfigurator $configurator, DiContainerConfig $config) {}interface EnvironmentInterface { /** * Set environment value. */ public function set(string $name, mixed $value): self; /** * Get environment value. */ public function get(string $name, mixed $default = null): mixed; /** * Get all environment values. */ public function getAll(): array; }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew featureNew feature