Something went wrong. Try again.
A barebones implementation of an atproto PDS in PHP and Slim Framework 4.
pds php atproto
Something went wrong. Try again.
12345678910111213141516171819202122232425<?php
declare(strict_types=1);
namespace App\Domain\Did;
interface DidCacheRepository{ /** * @throws DidDocEntryNotFoundException */ public function get(string $did): DidDocEntry;
/** * @param array<string, mixed> $doc */ public function set(string $did, array $doc): void;
public function has(string $did): bool;
public function clear(string $did): void;
public function clearAll(): void;}