<?php
namespace Rawafed\CloudServicesBundle;
use Doctrine\DBAL\Types\Type;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Rawafed\CloudServicesBundle\DependencyInjection\Compiler\CloudServicesCompilerPass;
class CloudServicesBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new CloudServicesCompilerPass());
}
/*public function boot()
{
$encryptedString = Type::getType('encrypted_string');
$encryptedString->setKey($this->container->getParameter('cloud_services.subscriptions')['dbpass_key']);
}*/
}