aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Zelent <zelent.marcin@gmail.com>2018-03-16 17:53:32 +0100
committerMarcin Zelent <zelent.marcin@gmail.com>2018-03-16 17:53:32 +0100
commit1ab2b90b02705e206680b5428bf1fbaec6438132 (patch)
tree8ee964fdf84ff49c22ac6449a178da9d1e67eeb0 /app/AppKernel.php
parented01011dfb563e7d8ab13b6a0718eed7bf857880 (diff)
Removed old files.
Diffstat (limited to 'app/AppKernel.php')
-rw-r--r--app/AppKernel.php54
1 files changed, 0 insertions, 54 deletions
diff --git a/app/AppKernel.php b/app/AppKernel.php
deleted file mode 100644
index ef068e0..0000000
--- a/app/AppKernel.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-
-use Symfony\Component\HttpKernel\Kernel;
-use Symfony\Component\Config\Loader\LoaderInterface;
-
-class AppKernel extends Kernel
-{
- public function registerBundles()
- {
- $bundles = [
- new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
- new Symfony\Bundle\SecurityBundle\SecurityBundle(),
- new Symfony\Bundle\TwigBundle\TwigBundle(),
- new Symfony\Bundle\MonologBundle\MonologBundle(),
- new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
- new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
- new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
- new AppBundle\AppBundle(),
- ];
-
- if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
- $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
- $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
- $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
-
- if ('dev' === $this->getEnvironment()) {
- $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
- $bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle();
- }
- }
-
- return $bundles;
- }
-
- public function getRootDir()
- {
- return __DIR__;
- }
-
- public function getCacheDir()
- {
- return dirname(__DIR__).'/var/cache/'.$this->getEnvironment();
- }
-
- public function getLogDir()
- {
- return dirname(__DIR__).'/var/logs';
- }
-
- public function registerContainerConfiguration(LoaderInterface $loader)
- {
- $loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml');
- }
-}