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\Fixture;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
/**
* @author Kamil Kokot <[email protected]>
abstract class AbstractFixture implements FixtureInterface
{
* {@inheritdoc}
final public function getConfigTreeBuilder()
$treeBuilder = new TreeBuilder();
$optionsNode = $treeBuilder->root($this->getName());
$this->configureOptionsNode($optionsNode);
return $treeBuilder;
}
* @param ArrayNodeDefinition $optionsNode
protected function configureOptionsNode(ArrayNodeDefinition $optionsNode)
$optionsNode
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
// empty
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.