| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class ProfilesFollowController |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var EntityManagerInterface |
||
| 21 | */ |
||
| 22 | private $manager; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param EntityManagerInterface $manager |
||
| 26 | */ |
||
| 27 | 1 | public function __construct(EntityManagerInterface $manager) |
|
| 28 | { |
||
| 29 | 1 | $this->manager = $manager; |
|
| 30 | 1 | } |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @param UserInterface $user |
||
| 34 | * @param User $profile |
||
| 35 | * |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | 1 | public function __invoke(UserInterface $user, User $profile) |
|
| 46 | } |
||
| 47 | } |
||
| 48 |