api.emotionhero.com/src/Models/GameRepository.php

18 lines
420 B
PHP
Raw Normal View History

2016-09-01 10:15:17 +00:00
<?php
namespace EmotionHero\Models;
use Doctrine\ORM\EntityRepository;
class UserRepository extends EntityRepository
{
// $query = $this->_em->createQuery(
// 'SELECT ri FROM ...::class ri WHERE ri.result = :result AND ri.hitAt IS NULL ORDER BY ri.usedPosition ASC'
// )
// ->setParameters([
// 'result' => $result,
// ])
// ->setMaxResults($limit);
// $resultItems = $query->getResult();
}