37 lines
		
	
	
		
			826 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			826 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| /*
 | |
|  * (c) Jeroen van den Enden <info@endroid.nl>
 | |
|  *
 | |
|  * This source file is subject to the MIT license that is bundled
 | |
|  * with this source code in the file LICENSE.
 | |
|  */
 | |
| 
 | |
| use Symfony\Component\Config\Loader\LoaderInterface;
 | |
| use Symfony\Component\HttpKernel\Kernel;
 | |
| 
 | |
| class AppKernel extends Kernel
 | |
| {
 | |
|     /**
 | |
|      * {@inheritdoc}
 | |
|      */
 | |
|     public function registerBundles()
 | |
|     {
 | |
|         $bundles = [
 | |
|             new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
 | |
|             new Symfony\Bundle\TwigBundle\TwigBundle(),
 | |
|             new Endroid\QrCode\Bundle\QrCodeBundle\EndroidQrCodeBundle(),
 | |
|         ];
 | |
| 
 | |
|         return $bundles;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * {@inheritdoc}
 | |
|      */
 | |
|     public function registerContainerConfiguration(LoaderInterface $loader)
 | |
|     {
 | |
|         $loader->load(__DIR__.'/config/config.yml');
 | |
|     }
 | |
| }
 |