How can I use a deep default configuration in symfony

I am trying to create a bundle that wont require a config file, but default values do not work.

Here is the code:

    public function getConfigTreeBuilder()
        $treeBuilder = new TreeBuilder('acme_newsletter');


        return $treeBuilder;

Now when I use this file Symfony wont use the default values unless I create at least following config file:


Is there a way to use default values without requiring any files to be created?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *