Override config mechanism
Summary:
Can be used to override existing configuration values, without modifying
the existing config files.
Differential Revision: https://git.kolab.org/D4118
mollekopf | Authored on Feb 27 2023, 2:50 PM |
mollekopf | Pushed on Mar 7 2023, 9:43 PM |
This does not cover all use-cases. It works properly only for one sub-level of configuration. I found it simpler and more robust if we instead of:
return [ 'imap' => [ 'digits' => 5, 'default_folders' => [], ], ];
use this syntax:
return [ 'imap.digits' => 5, 'imap.default_folders' => [], // setting only the 'table' option below is not possible with your approach 'queue.connections.database.table' => 'my_jobs', ];