-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGiftcardsEncryptionBundle.php
More file actions
25 lines (22 loc) · 1 KB
/
GiftcardsEncryptionBundle.php
File metadata and controls
25 lines (22 loc) · 1 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
<?php
namespace Giftcards\EncryptionBundle;
use Giftcards\EncryptionBundle\DependencyInjection\Compiler\AddBuildersPass;
use Giftcards\EncryptionBundle\DependencyInjection\Compiler\AddCipherTextRotatorsPass;
use Giftcards\EncryptionBundle\DependencyInjection\Compiler\AddCiphersPass;
use Giftcards\EncryptionBundle\DependencyInjection\Compiler\AddCipherTextSerializersDeserializersPass;
use Giftcards\EncryptionBundle\DependencyInjection\Compiler\AddKeySourcesPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class GiftcardsEncryptionBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
$container
->addCompilerPass(new AddCipherTextRotatorsPass())
->addCompilerPass(new AddCiphersPass())
->addCompilerPass(new AddKeySourcesPass())
->addCompilerPass(new AddCipherTextSerializersDeserializersPass())
->addCompilerPass(new AddBuildersPass())
;
}
}