View::apply()
Filters the data array based on headers or query parameters. Requests can return only certain data fields that way or globals can be injected on demand.
View::apply(array $data): array
Parameters
Name | Type | Default |
---|---|---|
$data * | array |
– |
Return type
array