| 1 | <?php |
||
| 17 | class SqlString implements SqlInterface |
||
| 18 | { |
||
| 19 | use SqlTrait; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $lines = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $sql |
||
| 28 | */ |
||
| 29 | public function __construct($sql) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param callable $callback |
||
| 36 | */ |
||
| 37 | protected function eachQuery(callable $callback) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return mixed |
||
| 53 | */ |
||
| 54 | public function key() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return void |
||
| 61 | */ |
||
| 62 | public function rewind() |
||
| 66 | } |
||
| 67 |