1 | <?php |
||
19 | final class ExecuteRequest implements Request |
||
20 | { |
||
21 | /** @var non-empty-array<int, int|string|array> */ |
||
22 | private $body; |
||
23 | |||
24 | /** |
||
25 | * @param non-empty-array<int, int|string|array> $body |
||
26 | */ |
||
27 | 36 | private function __construct($body) |
|
31 | |||
32 | 36 | public static function fromSql(string $sql, array $params = []) : self |
|
41 | |||
42 | public static function fromStatementId(int $statementId, array $params = []) : self |
||
51 | |||
52 | 36 | public function getType() : int |
|
56 | |||
57 | 36 | public function getBody() : array |
|
61 | } |
||
62 |