| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | 6 | public function createQueryBuilder($entityName, $alias) |
|
| 40 | { |
||
| 41 | 6 | $this->entityName = $entityName; |
|
| 42 | 6 | $this->entityAlias = $alias; |
|
| 43 | |||
| 44 | 6 | $this->qBuilder = $this->manager->createQueryBuilder($this->entityName) |
|
| 45 | 6 | ->select($alias) |
|
| 46 | 6 | ->from($this->entityName, $alias); |
|
| 47 | |||
| 48 | 6 | return $this; |
|
| 49 | } |
||
| 56 |