DateAttribute
Represents an attribute with a date value, including its key and formatted value.
- Full name:
\Bloock\Entity\Identity\DateAttribute
- Parent class:
\Bloock\Entity\Identity\Attribute
Methods
fromProto
public static fromProto(\Bloock\DateAttribute $res): \Bloock\Entity\Identity\DateAttribute
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$res | \Bloock\DateAttribute |
toProto
public toProto(): \Bloock\DateAttribute
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