1 | <?php |
||
10 | class ArrayCursor implements Cursor |
||
11 | { |
||
12 | /** @var int[]|string[] */ |
||
13 | protected $cursor; |
||
14 | |||
15 | /** |
||
16 | * @param int[]|string[] $cursor |
||
17 | */ |
||
18 | 17 | public function __construct(array $cursor) |
|
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | 17 | public function has(...$columns) |
|
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | 10 | public function get($column) |
|
46 | } |
||
47 |