18 lines
420 B
PHP
18 lines
420 B
PHP
|
<?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();
|
||
|
}
|