Create a page which list events

This commit is contained in:
2023-11-27 20:30:50 +01:00
parent d8bf6a195f
commit e902b6d409
16 changed files with 716 additions and 125 deletions

View File

@@ -20,9 +20,9 @@ use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
class DummyPaginator implements PaginatorFactoryInterface
{
public function __construct(
private UrlGeneratorInterface $urlGenerator,
private string $route,
private array $routeParameters = []
private readonly UrlGeneratorInterface $urlGenerator,
private readonly string $route,
private readonly array $routeParameters = []
) {}
public function create(int $totalItems, string $route = null, array $routeParameters = null): PaginatorInterface