Copied!

BlockAttributeValueTransformerInterface

BlockAttributeValueTransformerInterface.php : 13
Interface

Methods

publicdecode()

BlockAttributeValueTransformerInterface.php : 24
public decode(string $translatedValue, string $sourceValue, array<string, mixed> $metadata) : string

Parameters

Name Type Default value Description
$translatedValue string - -
$sourceValue string - -
$metadata array<string, mixed> - -

Return values

string

Tags
Throws
EmptyTranslatedBlockAttributeException

publicencode()

BlockAttributeValueTransformerInterface.php : 17
public encode(string $value) : EncodedBlockAttributeValue

Parameters

Name Type Default value Description
$value string - -

Return values

EncodedBlockAttributeValue

publicgetAttributeTypeIdentifier()

BlockAttributeValueTransformerInterface.php : 15
public getAttributeTypeIdentifier() : string

Return values

string