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.
12345678910111213141516171819202122232425262728<?php
declare(strict_types=1);
namespace App\Domain\Pds\Atproto\Server;
use JsonSerializable;
class CreateInviteCodeResponse implements JsonSerializable{ public function __construct(private readonly string $code) { }
public function getCode(): string { return $this->code; }
/** * @return array<string, string> */ public function jsonSerialize(): array { return ['code' => $this->code]; }}