| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function getByBusinessEntity($businessEntity) |
||
| 34 | { |
||
| 35 | $this->getInstance() |
||
| 36 | ->join('Victoire\Bundle\BusinessEntityBundle\Entity\BusinessEntity', 'be', Expr\Join::WITH, 'businessproperty.businessEntity = be.id') |
||
| 37 | ->where('be.name = :businessEntity') |
||
| 38 | ->setParameter(':businessEntity', $businessEntity); |
||
| 39 | |||
| 40 | return $this; |
||
| 41 | } |
||
| 42 | } |
||
| 43 |