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

Inheritance: extends eZ\Publish\Core\Search\Elasticsearch\Content\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 | null Map field value to a proper Solr 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 Solr representation.
public map ( eZ\Publish\SPI\Search\Field $field ) : mixed | null
$field eZ\Publish\SPI\Search\Field
return mixed | null Returns null on empty value