SonataUserBundle.php 701 B

1234567891011121314151617181920212223242526272829303132333435
  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\UserBundle;
  11. use Symfony\Component\HttpKernel\Bundle\Bundle;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. class SonataUserBundle extends Bundle
  14. {
  15. protected $parent;
  16. /**
  17. * @param string $parent
  18. */
  19. public function __construct($parent = null)
  20. {
  21. $this->parent = $parent;
  22. }
  23. /**
  24. * {@inheritdoc}
  25. */
  26. public function getParent()
  27. {
  28. return $this->parent;
  29. }
  30. }