MMOframework
Why AI Playground Libraries Documentation Search Agency
FR EN
Index

BoardStore

MMO\admin\helpers · 1 symbol · generated 27 Oct 2026

class

BoardStore

BoardStore.php:14

The developer layer's store on a development machine: a ticket filed from a page goes straight onto the board's file ({boards}/{board}.json, KanbanBoard), which git versions with the application; its screenshot into

class MMO\admin\helpers\BoardStore implements MMO\admin\interfaces\iDeveloperStore
Namespace
MMO\admin\helpers
Implements
iDeveloperStore
See
$screenshots, which stays on the machine.
$store = new BoardStore('/home/me/app/boards', '/home/me/app/db/developer/screenshots');$store->fileTicket('acme', ['title' => 'Save fails', 'status' => 'backlog'], ['login' => 'marc', 'name' => 'Marc']);

Index

boards readonly
screenshots readonly
AddTo($b, $ticket, $labels) staticPut a ticket on a board: the next number, its status the board's first of type backlog when it has none or one the board does not know, its labels learnt by the board.
comment($board, $ticket, $body, $author)
file($board)
fileTicket($board, $ticket, $author)
pending($board)
PngFile($folder, $id) static
SavePng($folder, $png) static
saveScreenshot($png)
screenshotFile($id)
__construct($boards, $screenshots)

Properties2

boards

readonly
readonly string $boards
Type
string

screenshots

readonly
readonly string $screenshots
Type
string

Methods10

AddTo($b, $ticket, $labels)

staticBoardStore.php:33

Put a ticket on a board: the next number, its status the board's first of type backlog when it has none or one the board does not know, its labels learnt by the board.

static function AddTo(MMO\admin\helpers\KanbanBoard $b, array $ticket, ?array $labels = null): array
$bKanbanBoard
$ticketarray
$labels = nullnull | arraythe labels' definitions ({id, label, color, icon}), when the board may not know them
returnsarraythe ticket

SavePng($folder, $png)

staticBoardStore.php:77
static function SavePng(string $folder, string $png): string
$folderstring
$pngstring
returnsstringthe id of the image saved in $folder