Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class LampagerArrayCursor implements Cursor |
||
9 | { |
||
10 | /** @var array */ |
||
11 | protected $cursor; |
||
12 | |||
13 | /** @var LampagerColumnAccess */ |
||
14 | protected $access; |
||
15 | |||
16 | public function __construct(Model $model, array $cursor = []) |
||
17 | { |
||
18 | 48 | $this->cursor = $cursor; |
|
19 | $this->access = new LampagerColumnAccess($model); |
||
20 | 48 | } |
|
21 | 48 | ||
22 | 48 | /** |
|
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function has(...$columns) |
||
36 | } |
||
37 | 21 | ||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function get($column) |
||
46 |