| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class NullExtractor extends ExtractorBatchLimitAbstract |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Total number of records to fetch |
||
| 19 | * |
||
| 20 | * @var int |
||
| 21 | */ |
||
| 22 | protected $limit = 50; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Triggers an extract |
||
| 26 | * |
||
| 27 | * @param mixed $param |
||
| 28 | * |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | public function extract($param = null): bool |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Return the dumbest Generator ever |
||
| 42 | * |
||
| 43 | * @return \Generator |
||
| 44 | */ |
||
| 45 | public function getExtracted(): iterable |
||
| 50 |