-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCoreShopStudioFormBundle.php
More file actions
34 lines (28 loc) · 1.02 KB
/
Copy pathCoreShopStudioFormBundle.php
File metadata and controls
34 lines (28 loc) · 1.02 KB
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
28
29
30
31
32
33
34
<?php
declare(strict_types=1);
/*
* CoreShop
*
* This source file is available under the terms of the
* CoreShop Commercial License (CCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) CoreShop GmbH (https://www.coreshop.com)
* @license CoreShop Commercial License (CCL)
*
*/
namespace CoreShop\Bundle\StudioFormBundle;
use CoreShop\Bundle\StudioFormBundle\DependencyInjection\Compiler\RegisterFormSchemaEnricherPass;
use CoreShop\Bundle\StudioFormBundle\DependencyInjection\Compiler\RegisterStudioFormTypesPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
final class CoreShopStudioFormBundle extends Bundle
{
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new RegisterFormSchemaEnricherPass());
$container->addCompilerPass(new RegisterStudioFormTypesPass());
}
}