1 | <?php |
||
14 | class Ksql implements QueryInterface |
||
15 | { |
||
16 | /** @var string */ |
||
17 | protected $query; |
||
18 | |||
19 | /** |
||
20 | * Ksql constructor. |
||
21 | * |
||
22 | * @param string $query |
||
23 | */ |
||
24 | public function __construct(string $query) |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function httpMethod(): string |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function uri(): string |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function toArray(): array |
||
54 | |||
55 | /** |
||
56 | * @param ResponseInterface $response |
||
57 | * |
||
58 | * @return AbstractResult |
||
59 | */ |
||
60 | public function queryResult(ResponseInterface $response): AbstractResult |
||
64 | } |
||
65 |