EventService
class EventService
Constants
| CACHE_KEY_PREFIX |
|
Methods
__construct(EventRepository $eventRepository, LocationRepository $locationRepository, EntityManagerInterface $entityManager, CacheInterface $cache, HtmlSanitizerInterface $htmlSanitizer)
No description
array
findAll(bool|null $hasActivities, string|null $locationPid)
No description
void
delete(string $pid)
No description
void
invalidateEventCache(string $pid)
Invalidates the per-PID cache — called by ActivityService when a first/last activity
transition flips event.location or hasActivities.
Details
at line 24
__construct(EventRepository $eventRepository, LocationRepository $locationRepository, EntityManagerInterface $entityManager, CacheInterface $cache, HtmlSanitizerInterface $htmlSanitizer)
No description
at line 36
array
findAll(bool|null $hasActivities, string|null $locationPid)
No description
at line 49
Event
findOne(string $pid)
No description
at line 54
Event
create(CreateEventDto $dto)
No description
at line 73
Event
update(string $pid, UpdateEventDto $dto)
No description
at line 114
void
delete(string $pid)
No description
at line 128
void
invalidateEventCache(string $pid)
Invalidates the per-PID cache — called by ActivityService when a first/last activity
transition flips event.location or hasActivities.