Skip to main content

Did

Represents a DID.

  • Full name: \Bloock\Entity\Identity\Did

Properties

did

private string $did

didMethod

private \Bloock\Entity\Identity\DidMethod $didMethod

Methods

__construct

Returns a new instance of Did for the given parameters.

public __construct(string $did, \Bloock\Entity\Identity\DidMethod $didMethod): mixed

Parameters:

ParameterTypeDescription
$didstring
$didMethod\Bloock\Entity\Identity\DidMethod

getDid

Gets the raw did identifier.

public getDid(): string

getDidMethod

Gets the did method.

public getDidMethod(): \Bloock\Entity\Identity\DidMethod


Automatically generated on 2024-04-02