Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class HomeController extends AbstractController |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var TrickRepository |
||
14 | */ |
||
15 | private $repository; |
||
16 | |||
17 | public function __construct(TrickRepository $repository) |
||
18 | { |
||
19 | $this->repository = $repository; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @Route("/", name="home") |
||
24 | */ |
||
25 | public function index() |
||
30 | ]); |
||
31 | } |
||
32 | } |