| 1 | <?php |
||
| 11 | abstract class AbstractStreamQuery implements StreamQueryInterface |
||
| 12 | { |
||
| 13 | /** @var string */ |
||
| 14 | protected $query; |
||
| 15 | |||
| 16 | /** @var StreamConsumable */ |
||
| 17 | protected $callback; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * StreamQuery constructor. |
||
| 21 | * |
||
| 22 | * @param string $query |
||
| 23 | * @param StreamConsumable $callback |
||
| 24 | */ |
||
| 25 | public function __construct(string $query, StreamConsumable $callback) |
||
| 30 | } |
||
| 31 |