| 1 | <?php |
||
| 14 | class NullMetadataIterator implements MetadataIterator |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * (PHP 5 >= 5.0.0)<br/> |
||
| 19 | * Move forward to next element |
||
| 20 | * @link http://php.net/manual/en/iterator.next.php |
||
| 21 | * @return void Any returned value is ignored. |
||
| 22 | */ |
||
| 23 | public function next() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * (PHP 5 >= 5.0.0)<br/> |
||
| 30 | * Return the key of the current element |
||
| 31 | * @link http://php.net/manual/en/iterator.key.php |
||
| 32 | * @return mixed scalar on success, or null on failure. |
||
| 33 | */ |
||
| 34 | public function key() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * (PHP 5 >= 5.0.0)<br/> |
||
| 41 | * Checks if current position is valid |
||
| 42 | * @link http://php.net/manual/en/iterator.valid.php |
||
| 43 | * @return boolean The return value will be casted to boolean and then evaluated. |
||
| 44 | * Returns true on success or false on failure. |
||
| 45 | */ |
||
| 46 | public function valid() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * (PHP 5 >= 5.0.0)<br/> |
||
| 53 | * Rewind the Iterator to the first element |
||
| 54 | * @link http://php.net/manual/en/iterator.rewind.php |
||
| 55 | * @return void Any returned value is ignored. |
||
| 56 | */ |
||
| 57 | public function rewind() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return Metadata |
||
| 64 | */ |
||
| 65 | public function current() |
||
| 69 | } |
||
| 70 |