forked from cors-gmbh/pimcore-document-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKernel.php
27 lines (23 loc) · 776 Bytes
/
Kernel.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
declare(strict_types=1);
/**
* CORS GmbH.
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) CORS GmbH (https://www.cors.gmbh)
* @license https://www.cors.gmbh/license GPLv3 and PCL
*/
use Pimcore\HttpKernel\BundleCollection\BundleCollection;
use Pimcore\Kernel as PimcoreKernel;
class Kernel extends PimcoreKernel
{
public function registerBundlesToCollection(BundleCollection $collection)
{
$collection->addBundle(new \CORS\Bundle\DocumentAuthBundle\CORSDocumentAuthBundle());
}
}