Initial commit
This commit is contained in:
18
config/definition.php
Normal file
18
config/definition.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Symfony\Component\Config\Definition\Configurator\DefinitionConfigurator;
|
||||
|
||||
/**
|
||||
* This file defines the layout of the configuration, type constraints
|
||||
* and any default argument values.
|
||||
*/
|
||||
return static function (DefinitionConfigurator $definition): void {
|
||||
$definition->rootNode()
|
||||
->children()
|
||||
->scalarNode('name')->defaultValue('Mr. NoName')->cannotBeEmpty()->end()
|
||||
->end()
|
||||
;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user