for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the dotfiles project.
*
* (c) Anthonius Munthi <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dotfiles\Plugins\NVM;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* Configuration for NVM.
* @author Anthonius Munthi <[email protected]>
class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder(): TreeBuilder
$builder = new TreeBuilder();
$root = $builder->root('nvm');
$root
->children()
->scalarNode('install_dir')
->defaultValue('%dotfiles.vendor_dir%/.nvm')
->end()
;
return $builder;
}