for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Mgid\Component\Pagination;
final class Output implements OutputInterface
{
/**
* @var int
*/
private int $count;
* @var iterable<array>
private iterable $items;
* @param int $count
* @param iterable<array> $items
public function __construct(int $count, iterable $items)
$this->count = $count;
$this->items = $items;
}
* {@inheritdoc}
public function getCount(): int
return $this->count;
public function getItems(): iterable
return $this->items;