src/PHPDish/Bundle/NotificationBundle/DependencyInjection/Configuration.php
public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('phpdish_notification');

        $rootNode
            ->children()
                ->arrayNode('resources')
                    ->children()
                        ->arrayNode('notification')
                            ->children()
                                ->scalarNode('interface')->defaultValue(NotificationInterface::class)->cannotBeEmpty()->end()
                                ->scalarNode('model')->defaultValue(Notification::class)->cannotBeEmpty()->end()
                            ->end()
                        ->end()

                        ->arrayNode('notification_metadata')
                            ->children()
                                ->scalarNode('interface')->defaultValue(NotificationMetadataInterface::class)->cannotBeEmpty()->end()
                                ->scalarNode('model')->defaultValue(NotificationMetadata::class)->cannotBeEmpty()->end()
                            ->end()
                        ->end()
                    ->end()
                ->end()
            ->end();

        $this->addTemplatesSection($rootNode);
        return $treeBuilder;
    }
public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('phpdish_notification');

        $rootNode
            ->children()
                ->arrayNode('resources')
                    ->children()
                        ->arrayNode('notification')
                            ->children()
                                ->scalarNode('interface')->defaultValue(NotificationInterface::class)->cannotBeEmpty()->end()
                                ->scalarNode('model')->defaultValue(Notification::class)->cannotBeEmpty()->end()
                            ->end()
                        ->end()

                        ->arrayNode('notification_metadata')
                            ->children()
                                ->scalarNode('interface')->defaultValue(NotificationMetadataInterface::class)->cannotBeEmpty()->end()
                                ->scalarNode('model')->defaultValue(NotificationMetadata::class)->cannotBeEmpty()->end()
                            ->end()
                        ->end()
                    ->end()
                ->end()
            ->end();

        $this->addTemplatesSection($rootNode);
        return $treeBuilder;
    }
{@inheritdoc}