DatetimeAttribute
Represents an attribute with a datetime value.
- Full name:
\Bloock\Entity\Identity\DatetimeAttribute
- Parent class:
\Bloock\Entity\Identity\Attribute
Methods
fromProto
public static fromProto(\Bloock\DateTimeAttribute $res): \Bloock\Entity\Identity\DatetimeAttribute
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$res | \Bloock\DateTimeAttribute |
toProto
public toProto(): \Bloock\DateTimeAttribute
Inherited methods
__construct
Constructs an Attribute object with the specified parameters.
public __construct(string $id, $value): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$id | string | |
$value | **** |
Automatically generated on 2024-04-02