]> Raphaël G. Git Repositories - blog/commitdiff
Import config bundles and preload files
authorRaphaël Gertz <git@rapsys.eu>
Fri, 26 Jan 2024 17:38:42 +0000 (18:38 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 26 Jan 2024 17:38:42 +0000 (18:38 +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..cdde1b6
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+
+return [
+    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
+    Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
+    Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
+    Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
+    Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
+    Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
+    Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
+    Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
+    Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
+    Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
+    Rapsys\PackBundle\RapsysPackBundle::class => ['all' => true],
+    Rapsys\UserBundle\RapsysUserBundle::class => ['all' => true],
+    Rapsys\BlogBundle\RapsysBlogBundle::class => ['all' => true],
+    Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => 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';
+}