Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* This file is part of CustomerType
* Copyright(c) Akira Kurozumi <>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
namespace Plugin\CustomerType\Bundle;
use Plugin\CustomerType\DependencyInjection\CustomerTypeCompilerPass;
use Plugin\CustomerType\DependencyInjection\CustomerTypeExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class CustomerTypeBundle extends Bundle
public function build(ContainerBuilder $container)
$container->addCompilerPass(new CustomerTypeCompilerPass());
public function getContainerExtension()
return new CustomerTypeExtension();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment