| 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 | 18 | private function __construct($body) |
|
| 31 | |||
| 32 | 12 | public static function fromSql(string $sql) : self |
|
| 36 | |||
| 37 | 18 | public static function fromStatementId(int $statementId) : self |
|
| 41 | |||
| 42 | 18 | public function getType() : int |
|
| 46 | |||
| 47 | 18 | public function getBody() : array |
|
| 51 | } |
||
| 52 |