Key
Represents a key entity that can be either a ManagedKey or a LocalKey.
- Full name:
\Bloock\Entity\Key\Key
Properties
localKey
public ?\Bloock\Entity\Key\LocalKey $localKey
managedKey
public ?\Bloock\Entity\Key\ManagedKey $managedKey
Methods
__construct
Creates a Key instance with a local or managed key.
public __construct( $key): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$key | **** |
Throws:
toProto
public toProto(): \Bloock\Key
Automatically generated on 2024-04-02