1 | <?php |
||
8 | class SparQLIterator extends GenericIterator |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var Result |
||
13 | */ |
||
14 | private $sparqlQuery; |
||
15 | |||
16 | /** |
||
17 | * Enter description here... |
||
18 | * |
||
19 | * @var int |
||
20 | */ |
||
21 | private $current = 0; |
||
22 | |||
23 | 2 | public function __construct(Result $sparqlQuery) |
|
29 | |||
30 | 2 | public function count() |
|
34 | |||
35 | /** |
||
36 | * @access public |
||
37 | * @return bool |
||
38 | */ |
||
39 | 2 | public function hasNext() |
|
47 | |||
48 | /** |
||
49 | * @access public |
||
50 | * @return Row |
||
51 | * @throws IteratorException |
||
52 | */ |
||
53 | 1 | public function moveNext() |
|
67 | |||
68 | public function key() |
||
72 | } |
||
73 |