| 1 | <?php |
||
| 10 | class AbstractFinder |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Whenever to use cursors |
||
| 15 | * @var bool |
||
| 16 | */ |
||
| 17 | private $useCursor = false; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Whenever to use cursor |
||
| 21 | * @param bool $useCursor |
||
| 22 | * @return FinderInterface |
||
| 23 | */ |
||
| 24 | 69 | public function withCursor($useCursor = true) |
|
| 29 | |||
| 30 | 18 | public function isWithCursor() |
|
| 34 | |||
| 35 | } |
||
| 36 |