GroupManager.php 505B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace FOS\UserBundle\CouchDocument;
  3. use Doctrine\ODM\CouchDB\DocumentManager;
  4. use FOS\UserBundle\Doctrine\GroupManager as BaseGroupManager;
  5. /**
  6. * BC class for people extending it in their bundle.
  7. * TODO Remove this class on July 31st
  8. */
  9. class GroupManager extends BaseGroupManager
  10. {
  11. /**
  12. * @var DocumentManager
  13. */
  14. protected $dm;
  15. public function __construct(DocumentManager $dm, $class)
  16. {
  17. parent::__construct($dm, $class);
  18. $this->dm = $dm;
  19. }
  20. }