AttributeValueTextConverterInterface
AttributeValueTextConverterInterface.php
:
19
Interface
Converts a Brand Context attribute value to plain text, for example to use it in AI prompts.
Implementations are registered per attribute type with the
ibexa.brand_context.attribute.value_text_converter tag and its identifier attribute.
Methods¶
convert()
¶
AttributeValueTextConverterInterface.php
:
24
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $value | BrandContextAttributeValueInterface | - | - |
| $languageCode | string|null | null | - |
Return values
non-empty-string|null