19 lines
454 B
PHP
19 lines
454 B
PHP
<?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()
|
|
;
|
|
};
|
|
|