- ->arrayNode('site')
- ->addDefaultsIfNotSet()
- ->children()
- ->scalarNode('donate')->cannotBeEmpty()->defaultValue($defaults['site']['donate'])->end()
- ->arrayNode('icon')
- ->treatNullLike([])
- ->defaultValue($defaults['site']['icon'])
- ->scalarPrototype()->end()
- ->end()
- ->arrayNode('logo')
- ->treatNullLike([])
- ->defaultValue($defaults['site']['logo'])
- ->scalarPrototype()->end()
- ->end()
- ->arrayNode('png')
- ->treatNullLike([])
- ->defaultValue($defaults['site']['png'])
- ->scalarPrototype()->end()
- ->end()
- /*->scalarNode('ico')->cannotBeEmpty()->defaultValue($defaults['site']['ico'])->end()
- ->scalarNode('logo')->cannotBeEmpty()->defaultValue($defaults['site']['logo'])->end()
- ->scalarNode('svg')->cannotBeEmpty()->defaultValue($defaults['site']['svg'])->end()*/
- ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['site']['title'])->end()
- ->scalarNode('url')->cannotBeEmpty()->defaultValue($defaults['site']['url'])->end()
- ->end()
- ->end()
- ->arrayNode('calendar')