Open preaction opened 9 years ago
A lot of things need paths. Those paths should be able to be relative to the config file.
I'm thinking something like:
logger: class: Log::Dispatch args: - File - filename - { $file: var/log/mylog }
and/or
log_dir: path: var/log logger: class: Log::Dispatch args: - File - filename - { $ref: log_dir }
This helps make a generic way of building paths, pulling out the special way that child containers do it.
It has to be $file because $path is already take up for Data::DPath
$file
$path
A lot of things need paths. Those paths should be able to be relative to the config file.
I'm thinking something like:
and/or
This helps make a generic way of building paths, pulling out the special way that child containers do it.