| 1 | <?php |
||
| 8 | final class NullConsumer implements ConsumerInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * {@inheritdoc} |
||
| 12 | */ |
||
| 13 | 1 | public function foreach(callable $consume): void |
|
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | 1 | public function take(int $count): ConsumerInterface |
|
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | 1 | public function filter(callable $predicate): ConsumerInterface |
|
| 33 | } |
||
| 34 |