Skip to content

Reference

tilttek/escape-room-bundle

Classes

ClassRole
TilttekEscapeRoomBundleThe bundle and its configuration tilttek_escape_room
Application\GameDeskThe moves of the games by their identifier
Application\StoredGameA game: its identifier, room and state
Application\Screen, Application\ScreenKindWhat the hint screen shows
Application\EscapeRoomTopicsThe Mercure topic of a game
Application\ConfiguredRoomCatalogThe rooms of the configuration
Application\NoEscapeRoomAccessThe access that refuses every viewer
Application\UnnamedTeamsThe names of no team
Application\Contract\*RoomCatalog, EscapeRoomAccess, TeamNames, GameStore, ResultStore, ScreenStore, PartyBookings, ScreenPublisher
Infrastructure\Doctrine\EscapeRoomTables, EscapeRoomSchemaListenerThe five tables, added to the generated schema
Infrastructure\Doctrine\DbalGameStore, DbalResultStore, DbalScreenStore, DbalSeatLedgerThe stores on Doctrine DBAL
Infrastructure\Memory\InMemoryGameStore, InMemoryResultStore, InMemoryScreenStore, InMemorySeatLedgerThe stores in memory
Infrastructure\Scheduler\EscapeRoomSchedule, ExpireDue, ExpireDueHandlerThe schedule of the expiries
Infrastructure\Console\ExpireCommandtilttek:escape-room:expire
Infrastructure\Mercure\MercureScreenPublisher, ScreenSubscriptionsThe moves on Mercure, and the viewers' subscriptions
Infrastructure\Http\ConsoleController, ScreenController, ConsentController, LeaderboardControllerThe pages
Infrastructure\Http\Screens, ViewsWhat the pages share, and what the templates read
Infrastructure\Twig\EscapeRoomExtension, KitComponentsThe Twig functions and the names of the kit's recipes
Infrastructure\Privacy\EscapeRoomPrivacyThe export and erasure of a member
Infrastructure\DependencyInjection\EscapeRoomServices, MercureHubPass, KitSubdirectoryPassThe services and their wiring

Services

ServiceWhat it is
Tilttek\EscapeRoomBundle\Application\GameDeskThe desk, public
Tilttek\EscapeRoom\EscapeRoomsThe library's games, telling the dispatcher
Tilttek\EscapeRoom\Booking\SessionBookerThe bookings of the sessions
Tilttek\EscapeRoom\Contract\SessionReservationsThe reservations, as the bookings say
The contracts of Application\ContractAliased to the stores and services of the configuration

Routes

tilttek_escape_room_console, tilttek_escape_room_console_act, tilttek_escape_room_screen, tilttek_escape_room_screen_state, tilttek_escape_room_consent and tilttek_escape_room_leaderboard, as the screens describe.

Exceptions

ExceptionThrown when
Application\Exception\DeskRefusedA game unknown or already there, a room unknown, a malformed identifier
Tilttek\EscapeRoom\Exception\InvalidRoom, GameRefused, BookingRefusedAs the library says; a batch of expiries or a leaderboard out of bounds, an identifier of a booking too long
UnexpectedValueExceptionA row that does not hold what its column should

DeskRefused implements Tilttek\EscapeRoom\Exception\EscapeRoomException, so a page catches every refusal at once.