| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class SetPrimaryImageController extends AbstractController |
||
| 21 | { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var EventDispatcherInterface |
||
| 25 | */ |
||
| 26 | private $dispatcher; |
||
| 27 | |||
| 28 | public function __construct(EventDispatcherInterface $dispatcher) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @Route("/image/set/{trick}-{image}", name="image.setprimary") |
||
| 35 | * @param Trick $trick |
||
| 36 | * @param Image $image |
||
| 37 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
||
| 38 | */ |
||
| 39 | public function setPrimaryController(Trick $trick, Image $image) |
||
| 47 | } |