Skip to content

Reference

tilttek/dice-tower
TypeRole
TilttekDiceTowerBundleThe bundle: its configuration and its services
Domain\Model\TowerDropA roll dropped in a table's tower: its position, the table, the roll, the roller and when
Domain\Contract\TowerDropRepositoryThe log of the towers
Application\DiceTowerRolls dropped, entries read in order, missed entries read again, a roller's drops erased
Application\TowerEntryAn entry as everyone at the table sees it, and its payload
Application\RollSummaryThe bounded summary of a recorded roll
Application\TowerTopicsThe topic of each table's tower
Application\TowerRelaysHands each entry to the relays, at once or through a bus
Application\Message\RelayDrop, Application\RelayDropHandlerThe message of a relay, with the table and the position, and its handler
Application\Contract\TableAccessWhether the current viewer may watch a table
Application\Contract\TowerPublisherPushes each new entry to the viewers
Application\Contract\TowerRelayCarries each new entry to another channel
Application\NoTableAccess, Application\NoTowerPublisherNobody may watch; nothing is pushed
Infrastructure\Doctrine\DoctrineTowerDropRepositoryThe log in Doctrine
Infrastructure\Memory\InMemoryTowerDropRepositoryThe log in memory, for tests
Infrastructure\Mercure\MercureTowerPublisherPushes each entry to the private topic of its table
Infrastructure\Mercure\TowerSubscriptionsThe subscription of an allowed viewer, and its authorization cookie
Infrastructure\Http\TowerEntriesControllerThe route of the missed entries
Infrastructure\Twig\DiceTowerExtensiondice_tower(), dice_tower_topic() and dice_tower_kit()
Infrastructure\Twig\TowerViewWhat the overlay shows of an entry
Infrastructure\Twig\KitComponentsThe names of the components of the UX kit, and the recipes the overlay needs
Infrastructure\DependencyInjection\TowerServicesRegisters the services
Infrastructure\DependencyInjection\KitSubdirectoryPassNames the components of the kit after the Toolkit's subdirectory, unless kit_subdirectory says it
ServicePublic
Tilttek\DiceTower\Domain\Contract\TowerDropRepositoryyes, an alias of the store's log
Tilttek\DiceTower\Application\DiceToweryes
Tilttek\DiceTower\Application\TowerTopicsyes
Tilttek\DiceTower\Application\Contract\TableAccessno, an alias of table_access or of NoTableAccess
Tilttek\DiceTower\Application\Contract\TowerPublisherno, an alias of MercureTowerPublisher
Tilttek\DiceTower\Application\TowerRelaysno
Tilttek\DiceTower\Application\RelayDropHandlerno, with message_bus
Tilttek\DiceTower\Infrastructure\Mercure\TowerSubscriptionsyes
Tilttek\DiceTower\Infrastructure\Http\TowerEntriesControlleryes
Tilttek\DiceTower\Infrastructure\Twig\DiceTowerExtensionyes, with Twig
RoutePath
tilttek_dice_tower_entriesGET /dice-tower/{table}/entries?after={position}
AssetsWhat they are
assets/src/tower_controller.jsThe controller tilttek--dice-tower--tower
assets/src/lib/entries.jsThe order, the words and the address of the entries