diff --git a/config/services.php b/config/services.php index a942b6e..0d606d0 100644 --- a/config/services.php +++ b/config/services.php @@ -21,22 +21,23 @@ use Symfony\Component\HttpKernel\Kernel; return static function (ContainerConfigurator $containerConfigurator): void { + // Parameters —————————————————————————————————————————————————————————————— $parameters = $containerConfigurator->parameters(); // System parameters: https://symfony.com/doc/current/performance.html#dump-the-service-container-into-a-single-file $parameters->set('.container.dumper.inline_factories', true); // Application parameters —————————————————————————————————————————————————— - $parameters->set('brand', 'MicroSymfony'); - $parameters->set('brand_html', 'MicroSymfony 🎶'); - $parameters->set('brand_emoji', '🎶️'); - $parameters->set('website', 'https://github.com/strangebuzz/MicroSymfony'); - $parameters->set('version', '1.0.0'); $sfVersion = substr(Kernel::VERSION, 0, 3); // minor Symfony version $description = <<$sfVersion application template on steroids, ready to use. DESCRIPTION; - $parameters->set('description', $description); + $parameters->set('brand', 'MicroSymfony') + ->set('brand_html', 'MicroSymfony 🎶') + ->set('brand_emoji', '🎶️') + ->set('website', 'https://github.com/strangebuzz/MicroSymfony') + ->set('version', '1.0.0') + ->set('description', $description); // Services ———————————————————————————————————————————————————————————————— $services = $containerConfigurator->services();