for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\FixturesBundle\Listener;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
/**
* @author Kamil Kokot <[email protected]>
abstract class AbstractListener implements ListenerInterface
{
* {@inheritdoc}
final public function getConfigTreeBuilder()
$treeBuilder = new TreeBuilder();
$optionsNode = $treeBuilder->root($this->getName());
$this->configureOptionsNode($optionsNode);
return $treeBuilder;
}
* @param ArrayNodeDefinition $optionsNode
abstract protected function configureOptionsNode(ArrayNodeDefinition $optionsNode);