zendframework/ZendSkeletonApplication — comment on commit c98ce242fea38efa5abfa940202b55747fbed7a9
File:  line 0
By EvanDotPro:

The only reason I kept it as Zend\Config\Config was to illustrate that since it's a Config object, people can use any config file format they please. Unfortunately since ini, xml, json, etc do not support __DIR__ (magic constants) yet, we're a bit stuck when it comes to relative module paths. Thus could be partially solved for the application.config.php file by using a user defined constant like in ZF1 for application_path, but there's still the issue of paths in module config files... Same thing occurs there. As it stands, either and array or ArrayAccess would work fine for application.config.php, really.