Created
December 6, 2020 05:20
-
-
Save kurozumi/98ad77d8f516fa57145eb8f37a041422 to your computer and use it in GitHub Desktop.
CustomerTypeBundle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file is part of CustomerType | |
* | |
* Copyright(c) Akira Kurozumi <[email protected]> | |
* | |
* https://a-zumi.net | |
* | |
* 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) | |
{ | |
parent::build($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