Resolve AT Protocol DIDs, handles, and schemas with intelligent caching for Laravel
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rename `$identity` to `$actor`

+5 -5
+5 -5
src/Beacon.php
··· 100 100 /** 101 101 * Resolve an identity (DID or handle) to its DID Document. 102 102 * 103 - * @param string $identifier A DID or handle 103 + * @param string $actor A DID or handle 104 104 * @param bool $useCache 105 105 * @return DidDocument 106 106 * @throws DidResolutionException 107 107 * @throws HandleResolutionException 108 108 */ 109 - public function resolveIdentity(string $identifier, bool $useCache = true): DidDocument 109 + public function resolveIdentity(string $actor, bool $useCache = true): DidDocument 110 110 { 111 - return Identity::isDid($identifier) 112 - ? $this->resolveDid($identifier, $useCache) 113 - : $this->resolveHandle($identifier, $useCache); 111 + return Identity::isDid($actor) 112 + ? $this->resolveDid($actor, $useCache) 113 + : $this->resolveHandle($actor, $useCache); 114 114 } 115 115 116 116 /**