mediatheque

This commit is contained in:
armansansd
2023-07-18 10:47:46 +01:00
commit 4b7c97a02e
3044 changed files with 544089 additions and 0 deletions
@@ -0,0 +1,29 @@
<?php
namespace Grav\Plugin\TNTSearch;
class GravResultObject
{
/** @var array */
protected $items;
/** @var int */
protected $counter;
/**
* GravResultObject constructor.
* @param array $items
*/
public function __construct($items)
{
$this->counter = 0;
$this->items = $items;
}
/**
* @param array $options
* @return array
*/
public function fetch($options)
{
return $this->items[$this->counter++];
}
}