mirror of
https://github.com/doctrine/doctrine-website.git
synced 2026-03-23 22:32:11 +01:00
21 lines
388 B
PHP
21 lines
388 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Doctrine\Website\Model\Entity;
|
|
|
|
/** @template T of EventParticipant */
|
|
final class EventParticipantRepository
|
|
{
|
|
public function findOneByEmail(string $email): EventParticipant|null
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/** @return EventParticipant[] */
|
|
public function findByEventId(int $eventId): array
|
|
{
|
|
return [];
|
|
}
|
|
}
|