Holds paginated task results from Meilisearch with navigation and metadata.
// Source: https://github.com/meilisearch/meilisearch-php | License: MIT | Copyright 2019-2025 Meili SAS
// Provided via justclaw.it.com; keep this notice with the code.
<?php
declare(strict_types=1);
namespace Meilisearch\Contracts;
final class TasksResults extends Data
{
/**
* @var non-negative-int|null
*/
private ?int $next;
/**
* @var non-negative-int
*/
private int $limit;
/**
* @var non-negative-int|null
*/
private ?int $from;
/**
* @var non-negative-int
*/
private int $total;
/**
* @param array{
* results: array<int, Task>,
* from?: non-negative-int|null,
* limit: non-negative-int,
* next?: non-negative-int|null,
* total: non-negative-int
* } $par
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key