Copied!

ValueFormatterInterface

ValueFormatterInterface.php : 17
Interface

since 5.0. twig templates should be used instead (declared in RenderProductAttributeExtension).

Tags
Deprecated

since 5.0. twig templates should be used instead (declared in RenderProductAttributeExtension).

Methods

publicformatValue()

ValueFormatterInterface.php : 22
public formatValue(AttributeInterface $attribute[, array<string, mixed> $parameters = [] ]) : string|null

Parameters

Name Type Default value Description
$attribute AttributeInterface - -
$parameters array<string, mixed> [] -

Return values

string|null