Created
October 6, 2018 19:15
-
-
Save ahmed-bhs/b91a31e764e2d4c10c1b9704a28e2fd7 to your computer and use it in GitHub Desktop.
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 | |
// portal/src/Symfony | |
# could have been portal/src/Portal/Common/Infrastructure/Symfony but I got lazy | |
namespace Portal\Common\Infrastructure\Symfony; | |
use Portal\Common\Infrastructure\Symfony\DependencyInjection\AppContextExtension; | |
use Symfony\Component\HttpKernel\Bundle\Bundle; | |
# I suppose SymfonyBundle might be a better name | |
class PortalBundle extends Bundle | |
{ | |
public function getContainerExtension() | |
{ | |
return new AppContextExtension(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment