| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function create( |
||
| 38 | string $query, |
||
| 39 | array $bindVars = [], |
||
| 40 | int $batchSize = null, |
||
| 41 | bool $count = false, |
||
| 42 | bool $cache = null, |
||
| 43 | array $options = [] |
||
| 44 | ): StatementStatement { |
||
| 45 | return new StatementStatement( |
||
| 46 | $this->client, |
||
| 47 | Cursor::create( |
||
| 48 | $query, |
||
| 49 | $bindVars, |
||
| 50 | $batchSize, |
||
| 51 | $count, |
||
| 52 | $cache, |
||
| 53 | $options |
||
| 54 | ), |
||
| 55 | $this->streamHandlerFactory |
||
| 56 | ); |
||
| 59 |