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.
12345678910111213141516171819202122232425262728293031323334<?php
declare(strict_types=1);
namespace App\Domain\Account;
interface AccountRepository{ /** * @return Account[] */ public function findAll(): array;
/** * @throws AccountNotFoundException */ public function findAccountByHandle(string $handle): Account;
/** * @throws AccountNotFoundException */ public function findAccountByDid(string $did): Account;
/** * @throws AccountNotFoundException */ public function findAccountByEmail(string $email): Account;
/** * Persist an account. */ public function save(Account $account): void;}