Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class ArticlesFeedController |
||
23 | { |
||
24 | /** |
||
25 | * @var ArticleRepository |
||
26 | */ |
||
27 | private $repository; |
||
28 | |||
29 | /** |
||
30 | * @param ArticleRepository $repository |
||
31 | */ |
||
32 | public function __construct(ArticleRepository $repository) |
||
33 | { |
||
34 | $this->repository = $repository; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param UserInterface $user |
||
39 | * @param ParamFetcher $paramFetcher |
||
40 | * |
||
41 | * @return array |
||
42 | */ |
||
43 | public function __invoke(UserInterface $user, ParamFetcher $paramFetcher) |
||
57 | ]; |
||
58 | } |
||
60 |