/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/skeleton/bundle/Bundle.php
PHP | 24 lines | 14 code | 4 blank | 6 comment | 0 complexity | 855d310e7e0e9ea44abf1cab48eff036 MD5 | raw file
Possible License(s): LGPL-2.1, LGPL-3.0, ISC, BSD-3-Clause
- <?php
- namespace {{ namespace }};
- use Symfony\Component\HttpKernel\Bundle\Bundle;
- class {{ bundle }} extends Bundle
- {
- /**
- * {@inheritdoc}
- */
- public function getNamespace()
- {
- return __NAMESPACE__;
- }
- /**
- * {@inheritdoc}
- */
- public function getPath()
- {
- return strtr(__DIR__, '\\', '/');
- }
- }