| 1 | <?php |
||
| 7 | trait QueryPart |
||
| 8 | { |
||
| 9 | private |
||
| 10 | $neededTableNames = []; |
||
| 11 | |||
| 12 | 10 | public function add(\Muffin\QueryPart $queryPart) |
|
| 18 | |||
| 19 | 9 | public function needTable($tableName) |
|
| 28 | |||
| 29 | 46 | public function ensureNeededTablesArePresent(array $snippets) |
|
| 47 | |||
| 48 | 9 | private function isAtLeastOneSnippetHasNeededTable($tableName, array $snippets) |
|
| 60 | } |
||
| 61 |