Skip to content

Optional include of config/laminas-cli.php or something similar #78

@rarog

Description

@rarog

Feature Request

Q A
New Feature yes
RFC yes
BC Break no

Summary

For some of the logic of console commands it would be good and safe to be able to include an additional config file to override module options.
In my specific case I use console command to clean caches and in case some of the module listener caches are horribly invalid, my command would break. By including additional config file, I could implement a safety net by including following lines, which would prevent those caches to be loaded even if they are enabled globally.

return [
    'module_listener_options' => [
        'config_cache_enabled' => false,
        'module_map_cache_enabled' => false,
    ],
];

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions