ContentFieldMapper
ContentFieldMapper.php
:
16
Base class for Content document field mapper.
Content document field mapper maps Content to the search fields for Content document.
Methods¶
accept() ¶
ContentFieldMapper.php
:
23
Indicates if the mapper accepts the given $content for mapping.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$content | Content | - | - |
Return values
bool
mapFields() ¶
ContentFieldMapper.php
:
30
Maps given $content to an array of search fields.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$content | Content | - | - |
Return values
array<string|int, Field>