feat: serve message fetches from the cache

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-10-07 22:20:13 -04:00
parent b1e92e5b07
commit 5e458c5bc8
7 changed files with 261 additions and 4 deletions
@@ -36,6 +36,12 @@ final class FakeMessageFileStore extends MessageFileStore
$this->files = [];
}
/** Direct access for tests */
public function content(int $uidValidity, int $uid): ?array
{
return $this->files[$uidValidity][$uid] ?? null;
}
/** @return int[] */
public function uids(int $uidValidity): array
{