IndexingDataAsArray

FinalYes

DTO used for the indexed_search Indexer class

Internal

Table of Contents

Properties

$body  : array<string|int, mixed>
$description  : array<string|int, mixed>
$keywords  : array<string|int, mixed>
$title  : array<string|int, mixed>

Methods

__construct()  : mixed
fromArray()  : IndexingDataAsArray
toArray()  : array<string|int, mixed>

Properties

$body

public array<string|int, mixed> $body = []

$description

public array<string|int, mixed> $description = []

$keywords

public array<string|int, mixed> $keywords = []

$title

public array<string|int, mixed> $title = []

Methods

__construct()

public __construct([array<string|int, mixed> $title = [] ][, array<string|int, mixed> $body = [] ][, array<string|int, mixed> $keywords = [] ][, array<string|int, mixed> $description = [] ]) : mixed
Parameters
$title : array<string|int, mixed> = []
$body : array<string|int, mixed> = []
$keywords : array<string|int, mixed> = []
$description : array<string|int, mixed> = []

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
IndexingDataAsArray

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results