Remove EventPage model

This commit is contained in:
isUnknown 2026-05-06 11:29:19 +02:00
parent f037bde662
commit f2c45afbec

View file

@ -1,16 +0,0 @@
<?php
class EventPage extends Page
{
public function sortedDates(): array
{
$groups = array_values($this->dates()->toStructure()->data());
usort($groups, fn($a, $b) => strcmp(
$b->to()->value() ?? '',
$a->to()->value() ?? ''
));
return $groups;
}
}