Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class PortfolioAttachmentRepository extends EntityRepository |
||
20 | { |
||
21 | public function findFromItem(Portfolio $item): array |
||
27 | ] |
||
28 | ); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return array<int, PortfolioComment> |
||
33 | */ |
||
34 | public function findFromComment(PortfolioComment $comment): array |
||
40 | ] |
||
41 | ); |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @throws OptimisticLockException |
||
46 | * @throws ORMException |
||
47 | */ |
||
48 | public function removeFromComment(PortfolioComment $comment) |
||
57 |