| 1 | <?php |
||
| 4 | trait TableBuilder { |
||
| 5 | use AbstractTableNameBuilder; |
||
| 6 | |||
| 7 | /** |
||
| 8 | * @var array[] |
||
| 9 | */ |
||
| 10 | private $tables = array(); |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param string $alias |
||
| 14 | * @param string $table |
||
| 15 | * @return $this |
||
| 16 | */ |
||
| 17 | protected function addTable($alias, $table = null) { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $query |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | protected function buildTables($query) { |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string[] |
||
| 42 | */ |
||
| 43 | protected function getTables() { |
||
| 46 | } |
||
| 47 |