DataSourceResult
The result of resolving a {@see DataSourceRequest} against a {@see \Milpa\Live\Contracts\Data\DataSourceInterface}.
DataSourceResult::__construct()
public function __construct(array $items, array $meta = []):Parameters
| Name | Type | Description |
|---|---|---|
| $items | array<int, array<string, mixed>> | Matching items, already limited/filtered by the data source. |
| $meta | array<string, mixed> | Source-defined metadata about the result (e.g. `total`, `truncated`); shape is not standardized across data sources. |