SonataBaseApplicationBundle.php 627 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. * This file is part of the Sonata project.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Sonata\BaseApplicationBundle;
  11. use Symfony\Component\HttpKernel\Bundle\Bundle;
  12. class SonataBaseApplicationBundle extends Bundle {
  13. /**
  14. * {@inheritdoc}
  15. */
  16. public function getNamespace()
  17. {
  18. return __NAMESPACE__;
  19. }
  20. /**
  21. * {@inheritdoc}
  22. */
  23. public function getPath()
  24. {
  25. return strtr(__DIR__, '\\', '/');
  26. }
  27. }