I've a multi level configuration, for example:
$config = new \Phalcon\Config([ 'system' => [ 'api' => [ 'vesion': 2, 'status': 'active' ] ] ]);
How can i get $config['system']['api']['version'] using $config->get(...) ? It'll be awesome if I can use it the following way
but it doesn't work right now.
Any suggestions? Thank you.
PS. property can absent and it can cause a fatal error or notice.
PSS. of course i've extended default class to support it, but i dislike that way =(