akluth / YamlConfigServiceProvider

Service provider for Silex for using YAML configuration files
38 stars 23 forks source link

does not support @import directive #3

Closed cordoval closed 10 years ago

akluth commented 10 years ago

What exactly do you mean by "@import directive"?

cordoval commented 10 years ago

nevermind i solved it another way, it is not possible

TLyngeJ commented 10 years ago

Good thing you solved it. Bad thing you didn't share it.

I'm pretty sure he means, that you cannot import other YAML files by using

imports:
    - { resource: parameters.yml }
    - { resource: security.yml }

This is possible in Symfony2, and it would be a nice feature, if YamlConfigServiceProvider could also support it.

akluth commented 10 years ago

Ah, ok, I wasn't exactly sure about it. I'm going to hack it into the provider tomorrow.

TLyngeJ commented 10 years ago

I've create a pull request, at #5, that implements this feature.

akluth commented 10 years ago

Thanks, merged.