Initial commit
This commit is contained in:
16
config/definition.php
Normal file
16
config/definition.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Symfony\Component\Config\Definition\Configurator\DefinitionConfigurator;
|
||||
|
||||
// This file is imported and used by the main bundle class to
|
||||
// define how the configuration should look.
|
||||
return static function (DefinitionConfigurator $definition): void {
|
||||
$definition->rootNode()
|
||||
->children()
|
||||
->scalarNode('name')->defaultValue('Mr. NoName')->cannotBeEmpty()->end()
|
||||
->end()
|
||||
;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user