europaphp / skeleton

A feather-weight, extremely-fast, diverse, scalable and productive PHP 5.4 View Controller framework.
17 stars 9 forks source link

Module specific configuration and its class configuration should be handled by the same configuration object. #101

Closed treshugart closed 11 years ago

treshugart commented 11 years ago

Currently module configuration is separated into 2 parts. One for the configuration that configures the object and one that contains custom parameters specified by a configuration file.

There is no benefit to keeping these separate and if we were to use the same object for both, then the configuration file itself could specify certain options that override the defaults. This would allow a module have a different vendor while allowing the user to make less potential modifications.

Making this modification does not alter the usability or API.