Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class BrandRepository extends EntityRepository implements BrandRepositoryInterface |
||
11 | { |
||
12 | /** |
||
13 | * @param string $slug |
||
14 | * |
||
15 | * @return BrandInterface|null |
||
16 | * |
||
17 | * @throws \Doctrine\ORM\NonUniqueResultException |
||
18 | */ |
||
19 | public function findOneBySlug(string $slug): ?BrandInterface |
||
26 | ; |
||
27 | } |
||
28 | |||
29 | public function findByName(string $name): array |
||
36 |