IndexingDataAsString
FinalYes
DTO used for the indexed_search Indexer class
Table of Contents
Properties
- $body : string
- $description : string
- $keywords : string
- $title : string
Methods
- __construct() : mixed
- fromArray() : IndexingDataAsString
- toArray() : array<string|int, mixed>
Properties
$body
public
string
$body
= ''
$description
public
string
$description
= ''
$keywords
public
string
$keywords
= ''
$title
public
string
$title
= ''
Methods
__construct()
public
__construct([string $title = '' ][, string $body = '' ][, string $keywords = '' ][, string $description = '' ]) : mixed
Parameters
- $title : string = ''
- $body : string = ''
- $keywords : string = ''
- $description : string = ''
fromArray()
public
static fromArray(array{title?: string|null, body?: string|null, keywords?: string|null, description?: string|null} $input) : IndexingDataAsString
Parameters
- $input : array{title?: string|null, body?: string|null, keywords?: string|null, description?: string|null}
Return values
IndexingDataAsStringtoArray()
public
toArray() : array<string|int, mixed>