Class

eZ\Publish\Core\Search\Common\FieldValueMapper\PriceMapper

class PriceMapper extends FieldValueMapper

Common price field value mapper implementation.

Methods

bool canMap(Field $field)

Check if field can be mapped.

mixed map(Field $field)

Map field value to a proper search engine representation.

Details

at line 27
public bool canMap(Field $field)

Check if field can be mapped.

Parameters

Field $field

Return Value

bool

at line 39
public mixed map(Field $field)

Map field value to a proper search engine representation.

Parameters

Field $field

Return Value

mixed Returns null on empty value