4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Config\Tests\Definition\Builder;
14 use Symfony\Component\Config\Definition\Builder\NodeBuilder as BaseNodeBuilder;
16 class NodeBuilder extends BaseNodeBuilder
18 public function barNode($name)
20 return $this->node($name, 'bar');
23 protected function getNodeClass($type)
27 return __NAMESPACE__.'\\'.ucfirst($type).'NodeDefinition';
29 return __NAMESPACE__.'\\'.ucfirst($type).'NodeDefinition';
31 return parent::getNodeClass($type);