GroupManager.php 710 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of the FOSUserBundle package.
  4. *
  5. * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
  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 FOS\UserBundle\Document;
  11. use Doctrine\ODM\MongoDB\DocumentManager;
  12. use FOS\UserBundle\Doctrine\GroupManager as BaseGroupManager;
  13. /**
  14. * BC class for people extending it in their bundle.
  15. * TODO Remove this class on July 31st
  16. */
  17. class GroupManager extends BaseGroupManager
  18. {
  19. protected $dm;
  20. public function __construct(DocumentManager $dm, $class)
  21. {
  22. parent::__construct($dm, $class);
  23. $this->dm = $dm;
  24. }
  25. }