track_e_lastaccess_repository.class.php 719 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Entity\Repository;
  3. use \db;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class TrackELastaccessRepository extends \EntityRepository
  10. {
  11. /**
  12. * @return \Entity\Repository\TrackELastaccessRepository
  13. */
  14. public static function instance(){
  15. static $result = false;
  16. if($result === false){
  17. $result = db::instance()->get_repository('\Entity\TrackELastaccess');
  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. }