GroupManager.php 505 B

123456789101112131415161718192021222324
  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. }