mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
35 lines
883 B
PHP
35 lines
883 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Sylius package.
|
|
*
|
|
* (c) Paweł Jędrzejewski
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
use Sylius\Bundle\CoreBundle\Application\Kernel;
|
|
|
|
/**
|
|
* @author Paweł Jędrzejewski <pawel@sylius.org>
|
|
* @author Gonzalo Vilaseca <gvilaseca@reiss.co.uk>
|
|
*/
|
|
class AppKernel extends Kernel
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function registerBundles()
|
|
{
|
|
$bundles = [
|
|
new \Sylius\Bundle\AdminBundle\SyliusAdminBundle(),
|
|
new \Sylius\Bundle\ShopBundle\SyliusShopBundle(),
|
|
|
|
new \FOS\OAuthServerBundle\FOSOAuthServerBundle(), // Required by SyliusApiBundle.
|
|
new \Sylius\Bundle\ApiBundle\SyliusApiBundle(),
|
|
];
|
|
|
|
return array_merge(parent::registerBundles(), $bundles);
|
|
}
|
|
}
|