PHP Class eZ\Publish\Core\Search\Elasticsearch\Content\FieldValueMapper\FloatMapper

Inheritance: extends eZ\Publish\Core\Search\Common\FieldValueMapper
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
canMap ( eZ\Publish\SPI\Search\Field $field ) : boolean Check if field can be mapped.
map ( eZ\Publish\SPI\Search\Field $field ) : mixed Map field value to a proper search engine representation.

Method Details

canMap() public method

Check if field can be mapped.
public canMap ( eZ\Publish\SPI\Search\Field $field ) : boolean
$field eZ\Publish\SPI\Search\Field
return boolean

map() public method

Map field value to a proper search engine representation.
public map ( eZ\Publish\SPI\Search\Field $field ) : mixed
$field eZ\Publish\SPI\Search\Field
return mixed