hassankhan / config

Config is a lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files
MIT License
971 stars 136 forks source link

support like $config->get('logger')->get('default.handler.class') ? #143

Open shaukei opened 2 years ago

shaukei commented 2 years ago

Does the class library support the function like: $config->get('logger')->get('default.handler.class'); If not, can add this feature?

DavidePastore commented 2 years ago

Hi @shaukei. It doesn't support this feature but you are free to create a PR for it. At the moment you can do something like this to achieve the same result:

$config['logger']['default']['handler']['class'];