]> Raphaël G. Git Repositories - airlibre/commitdiff
Import bundle and preload config
authorRaphaël Gertz <git@rapsys.eu>
Wed, 31 Jan 2024 22:45:24 +0000 (23:45 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 31 Jan 2024 22:45:24 +0000 (23:45 +0100)
config/bundles.php [new file with mode: 0644]
config/preload.php [new file with mode: 0644]

diff --git a/config/bundles.php b/config/bundles.php
new file mode 100644 (file)
index 0000000..2a7c85b
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+
+return [
+    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
+    Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
+    Rapsys\PackBundle\RapsysPackBundle::class => ['all' => true],
+    Rapsys\UserBundle\RapsysUserBundle::class => ['all' => true],
+    Rapsys\AirBundle\RapsysAirBundle::class => ['all' => true],
+    Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
+    Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
+    Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
+    Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
+    Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
+    Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
+];
diff --git a/config/preload.php b/config/preload.php
new file mode 100644 (file)
index 0000000..5ebcdb2
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+
+if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
+    require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
+}