track_e_access_repository.class.php 707 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Entity\Repository;
  3. use \db;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class TrackEAccessRepository extends \EntityRepository
  10. {
  11. /**
  12. * @return \Entity\Repository\TrackEAccessRepository
  13. */
  14. public static function instance(){
  15. static $result = false;
  16. if($result === false){
  17. $result = db::instance()->get_repository('\Entity\TrackEAccess');
  18. }
  19. return $result;
  20. }
  21. /**
  22. *
  23. * @param EntityManager $em The EntityManager to use.
  24. * @param ClassMetadata $class The class descriptor.
  25. */
  26. public function __construct($em, $class){
  27. parent::__construct($em, $class);
  28. }
  29. }