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