| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | interface Cursor |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Return a value indicating whether the cursor is non-empty and has the specified columns. |
||
| 12 | * |
||
| 13 | * @return null|bool null if the cursor is empty; true if the cursor has all the columns; otherwise false. |
||
| 14 | */ |
||
| 15 | public function has(...$columns); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Return a cursor specified by the column. |
||
| 19 | * |
||
| 20 | * @param string $column Column. |
||
| 21 | * @return int|string |
||
| 22 | */ |
||
| 23 | public function get($column); |
||
| 24 | } |
||
| 25 |