1 | <?php |
||
15 | class UnionStatement extends Statement |
||
16 | { |
||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $queries = []; |
||
21 | |||
22 | /** |
||
23 | * Adds a query to the statement. |
||
24 | * |
||
25 | * @param SelectQuery $query |
||
26 | * @param string|false $type |
||
27 | * |
||
28 | * @return self |
||
29 | */ |
||
30 | public function addQuery(SelectQuery $query, $type = false) |
||
36 | |||
37 | /** |
||
38 | * Gets the queries for this statement. |
||
39 | * |
||
40 | * @return array |
||
41 | */ |
||
42 | public function getQueries() |
||
46 | |||
47 | public function build() |
||
71 | } |
||
72 |