| 1 | <?php |
||
| 8 | class UnionAll extends SelectOrUnionAll implements \IteratorAggregate |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Select |
||
| 12 | */ |
||
| 13 | protected $mainQuery; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var Select |
||
| 17 | */ |
||
| 18 | protected $supportQuery; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * UnionAll constructor. |
||
| 22 | * |
||
| 23 | * @param Select $select |
||
| 24 | */ |
||
| 25 | 10 | public function __construct(Select $select) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return Select |
||
| 33 | */ |
||
| 34 | 10 | public function mainQuery() |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return Select |
||
| 41 | */ |
||
| 42 | 10 | public function supportQuery() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * Clone Select. |
||
| 49 | */ |
||
| 50 | public function __clone() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Retrieve an external iterator. |
||
| 58 | * |
||
| 59 | * @return \ArrayIterator|Select[] |
||
| 60 | */ |
||
| 61 | public function getIterator() |
||
| 65 | } |
||
| 66 |