Files
pcm-badge-bundle/config/definition.php
pcm-libraries a4f4e1990c Initial commit
2024-08-07 15:04:23 +00:00

17 lines
446 B
PHP

<?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()
;
};