| Total Complexity | 2 |
| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | class ManufacturerRepository extends AbstractPartsContainingRepository |
||
| 26 | { |
||
| 27 | |||
| 28 | public function getParts(object $element, array $order_by = ['name' => 'ASC']): array |
||
| 29 | { |
||
| 30 | return $this->getPartsByField($element, $order_by, 'manufacturer'); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getPartsCount(object $element): int |
||
| 36 | } |
||
| 37 | } |