| 1 | <?php |
||
| 10 | trait QueryPart |
||
| 11 | { |
||
| 12 | private |
||
| 13 | $neededTableNames = []; |
||
| 14 | |||
| 15 | 10 | public function add(\Puzzle\QueryBuilder\QueryPart $queryPart): Query |
|
| 21 | |||
| 22 | 9 | public function needTable($tableName): Query |
|
| 31 | |||
| 32 | 46 | public function ensureNeededTablesArePresent(array $snippets): void |
|
| 42 | |||
| 43 | 9 | private function isAtLeastOneSnippetHasNeededTable($tableName, array $snippets): bool |
|
| 60 | } |
||
| 61 |