for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Scrumban\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
class TrelloConfiguration implements ConfigurationInterface
{
public function getConfigTreeBuilder(): TreeBuilder
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('scrumban');
$rootNode
->children()
->arrayNode('trello')->canBeUnset()
->booleanNode('has_plus_for_trello')->end()
->arrayNode('boards')
->useAttributeAsKey('n')
->prototype('array')
->scalarNode('id')->end()
->end()
->arrayNode('columns')
->scalarNode('name')->end()
->scalarNode('type')->end()
->scalarNode('status')->end()
;
return $treeBuilder;
}