IndexingDataAsArray
final class \
DTO used for the indexed_search Indexer class
Internal
Table of Contents
Properties
- $body : array
- $description : array
- $keywords : array
- $title : array
Methods
- __construct() : mixed
- fromArray() : IndexingDataAsArray
- toArray() : array
Properties
$body
public
array
$body
= []
$description
public
array
$description
= []
$keywords
public
array
$keywords
= []
$title
public
array
$title
= []
Methods
__construct()
public
__construct([array $title = [] ][, array $body = [] ][, array $keywords = [] ][, array $description = [] ]) : mixed
Parameters
- $title : array = []
- $body : array = []
- $keywords : array = []
- $description : array = []
fromArray()
public
static fromArray(array{title?: array|null, body?: array|null, keywords?: array|null, description?: array|null} $input) : IndexingDataAsArray
Parameters
- $input : array{title?: array|null, body?: array|null, keywords?: array|null, description?: array|null}
Return values
IndexingDataAsArraytoArray()
public
toArray() : array