Incenteev/ParameterHandler — pull request #32 by piotrpasich (2013-10-07 08:40:52+00:00)
Title: Get parameters from vendors

This pull request handles two problems - getting parameters automatically not only from app/config/parameters.yml.dist but also from vendors, and problem with exporting inline arrays to parameters.yml .

Now you can add a file with default configuration in %BUNDLE%/Resources/config/app/parameters.yml.dist and composer with catch for those parameters while first installation like they have been placed in app/config/parameters.yml.dist.

It will improves copying required parameters to app/config/parameters.yml.dist will be unnecessary during installation new bundle.

There was another problem. If there was an array in parameters.yml.dist installer asked for definition of this array as a string (ex. [param1 = param1value, param2 = param2value]). Now installer is asking for all single parameters step by step and putting it to parameters.yml in not inline array.

You can define when system should define inline arrays in extra parameters in composer.json as yml-depth and default value is 99 as in master.