| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class CoroutineMySQLStatement |
||
| 8 | { |
||
| 9 | protected $statement; |
||
| 10 | protected $result; |
||
| 11 | |||
| 12 | public function __construct(SwooleStatement $statement) |
||
| 13 | { |
||
| 14 | $this->statement = $statement; |
||
| 15 | } |
||
| 16 | |||
| 17 | public function rowCount() |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param array $params |
||
| 24 | * @param int $timeout |
||
| 25 | * @return bool |
||
| 26 | * @throws StatementException |
||
| 27 | */ |
||
| 28 | public function execute(array $params = [], $timeout = -1) |
||
| 35 | } |
||
| 36 | |||
| 37 | public function fetchAll() |
||
| 40 | } |
||
| 41 | } |