Resolve AT Protocol DIDs, handles, and schemas with intelligent caching for Laravel
1<?php
2
3namespace SocialDept\AtpResolver\Contracts;
4
5interface HandleResolver
6{
7 /**
8 * Resolve a handle to a DID.
9 *
10 * @param string $handle The handle to resolve (e.g., "user.bsky.social")
11 * @return string The resolved DID
12 *
13 * @throws \SocialDept\AtpResolver\Exceptions\HandleResolutionException
14 */
15 public function resolve(string $handle): string;
16}