BooleanAttributeDescriptor
Represents a descriptor for a boolean attribute.
- Full name:
\Bloock\Entity\Identity\BooleanAttributeDescriptor
- Parent class:
\Bloock\Entity\Identity\AttributeDescriptor
Methods
fromProto
public static fromProto(\Bloock\BooleanAttributeDefinition $res): \Bloock\Entity\Identity\BooleanAttributeDescriptor
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$res | \Bloock\BooleanAttributeDefinition |
toProto
public toProto(): \Bloock\BooleanAttributeDefinition
Inherited methods
__construct
public __construct(string $displayName, string $technicalName, string|null $description, bool $required): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$displayName | string | |
$technicalName | string | |
$description | string|null | |
$required | bool |
Automatically generated on 2024-04-02