Skip to content

Commit

Permalink
Allow the encryption suffix which is added to the DB content to be de…
Browse files Browse the repository at this point in the history
…fined through configuration
  • Loading branch information
steveWinter committed Oct 26, 2017
1 parent c2c6044 commit 08be39b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DependencyInjection/DoctrineEncryptExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public function load(array $configs, ContainerBuilder $container)
//Set parameters
$container->setParameter('ambta_doctrine_encrypt.encryptor_class_name', $config['encryptor_class']);
$container->setParameter('ambta_doctrine_encrypt.secret_key', $config['secret_key']);
$container->setParameter('ambta_doctrine_encrypt.encrypted_suffix', $config['encrypted_suffix']);

//Load service file
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
Expand Down

0 comments on commit 08be39b

Please sign in to comment.