| Total Complexity | 2 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class MessageRepository extends ServiceEntityRepository |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * MessageRepository constructor. |
||
| 20 | * |
||
| 21 | * @param ManagerRegistry $registry |
||
| 22 | */ |
||
| 23 | public function __construct(ManagerRegistry $registry) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param User $user |
||
| 30 | * @param int $lastMessageId |
||
| 31 | * |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | public function getFromLastOneReceived(User $user, $lastMessageId = 0) |
||
| 56 |