Closed danielrhodeswarp closed 10 years ago
The idea itself is good, but I don't like the method's name getSection
because its return value is not a section. Maybe getBySection
?
Linguistic programming - I like it! getBySection() would be great. Honestly I would like to add this myself but I'm a bit of a Github workflow virgin. Not to mention rushed off my feet with actual paying work! :-/
Not an issue, just a feature request. How about:
$this->get('craue_config')->getSection('name-of-a-section')
which returns an array of all settings in that section?