@@ -63,6 +63,9 @@ discard block |
||
| 63 | 63 | $this->setJoinsForType('outerJoin'); |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | + /** |
|
| 67 | + * @param string $joinType |
|
| 68 | + */ |
|
| 66 | 69 | private function setJoinsForType($joinType) |
| 67 | 70 | { |
| 68 | 71 | if ($this->{$joinType} === null) { |
@@ -138,6 +141,9 @@ discard block |
||
| 138 | 141 | return $newFields; |
| 139 | 142 | } |
| 140 | 143 | |
| 144 | + /** |
|
| 145 | + * @param string $collection |
|
| 146 | + */ |
|
| 141 | 147 | protected function buildQuery($collection, $filters) |
| 142 | 148 | { |
| 143 | 149 | $queryBuilder = $this->conn->createQueryBuilder(); |
@@ -26,6 +26,10 @@ |
||
| 26 | 26 | 'index_type'=> null, |
| 27 | 27 | ]; |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param \Doctrine\DBAL\Schema\AbstractSchemaManager $schemaManager |
|
| 31 | + * @param string $collection |
|
| 32 | + */ |
|
| 29 | 33 | public function __construct($schemaManager, $collection, $fields) |
| 30 | 34 | { |
| 31 | 35 | $this->schemaManager = $schemaManager; |