Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

RemoteIdentifierMapper.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\Search\Common\FieldValueMapper;
8
9 use eZ\Publish\SPI\Search\Field;
10 use eZ\Publish\SPI\Search\FieldType\RemoteIdentifierField;
11
19 class RemoteIdentifierMapper extends StringMapper
20 {
21 public function canMap(Field $field): bool
22 {
23 return $field->type instanceof RemoteIdentifierField;
24 }
25 }
eZ\Publish\Core\Search\Common\FieldValueMapper\RemoteIdentifierMapper
Common remote ID field value mapper.
Definition: RemoteIdentifierMapper.php:20
eZ\Publish\Core\Search\Common\FieldValueMapper\RemoteIdentifierMapper\canMap
canMap(Field $field)
Check if field can be mapped.
Definition: RemoteIdentifierMapper.php:21
eZ\Publish\Core\Search\Common\FieldValueMapper\StringMapper
Common string field value mapper implementation.
Definition: StringMapper.php:17
eZ\Publish\SPI\Search\FieldType\RemoteIdentifierField
Remote ID document field.
Definition: RemoteIdentifierField.php:15
eZ\Publish\SPI\Search\Field
Definition: SPI/Search/Field.php:19
eZ\Publish\Core\Search\Common\FieldValueMapper
Definition: Search/Common/FieldValueMapper/Aggregate.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.