@@ 51-69 (lines=19) @@ | ||
48 | * @param UrlGeneratorInterface $urlGenerator |
|
49 | * @param \Twig_Environment $twig |
|
50 | */ |
|
51 | public function __construct( |
|
52 | AuthorizationCheckerInterface $authorizationChecker, |
|
53 | TokenStorageInterface $tokenStorage, |
|
54 | ListingFactory $listingFactory, |
|
55 | ManagerRegistry $doctrine, |
|
56 | FormFactory $formFactory, |
|
57 | Paginator $paginator, |
|
58 | UrlGeneratorInterface $urlGenerator, |
|
59 | \Twig_Environment $twig |
|
60 | ) { |
|
61 | $this->authorizationChecker = $authorizationChecker; |
|
62 | $this->tokenStorage = $tokenStorage; |
|
63 | $this->listingFactory = $listingFactory; |
|
64 | $this->doctrine = $doctrine; |
|
65 | $this->formFactory = $formFactory; |
|
66 | $this->paginator = $paginator; |
|
67 | $this->urlGenerator = $urlGenerator; |
|
68 | $this->twig = $twig; |
|
69 | } |
|
70 | ||
71 | /** |
|
72 | * @Route("/", bind="comestible_list", method="GET") |
@@ 57-77 (lines=21) @@ | ||
54 | * @param \Twig_Environment $twig |
|
55 | * @param TranslatorInterface $translator |
|
56 | */ |
|
57 | public function __construct( |
|
58 | AuthorizationCheckerInterface $authorizationChecker, |
|
59 | TokenStorageInterface $tokenStorage, |
|
60 | ListingFactory $listingFactory, |
|
61 | ManagerRegistry $doctrine, |
|
62 | FormFactory $formFactory, |
|
63 | Paginator $paginator, |
|
64 | UrlGeneratorInterface $urlGenerator, |
|
65 | \Twig_Environment $twig, |
|
66 | TranslatorInterface $translator |
|
67 | ) { |
|
68 | $this->authorizationChecker = $authorizationChecker; |
|
69 | $this->tokenStorage = $tokenStorage; |
|
70 | $this->listingFactory = $listingFactory; |
|
71 | $this->doctrine = $doctrine; |
|
72 | $this->formFactory = $formFactory; |
|
73 | $this->paginator = $paginator; |
|
74 | $this->urlGenerator = $urlGenerator; |
|
75 | $this->twig = $twig; |
|
76 | $this->translator = $translator; |
|
77 | } |
|
78 | ||
79 | /** |
|
80 | * @Route("/", bind="day_list", method="GET") |
@@ 55-75 (lines=21) @@ | ||
52 | * @param \Twig_Environment $twig |
|
53 | * @param UserManager $userManager |
|
54 | */ |
|
55 | public function __construct( |
|
56 | AuthorizationCheckerInterface $authorizationChecker, |
|
57 | TokenStorageInterface $tokenStorage, |
|
58 | ListingFactory $listingFactory, |
|
59 | ManagerRegistry $doctrine, |
|
60 | FormFactory $formFactory, |
|
61 | Paginator $paginator, |
|
62 | UrlGeneratorInterface $urlGenerator, |
|
63 | \Twig_Environment $twig, |
|
64 | UserManager $userManager |
|
65 | ) { |
|
66 | $this->authorizationChecker = $authorizationChecker; |
|
67 | $this->tokenStorage = $tokenStorage; |
|
68 | $this->listingFactory = $listingFactory; |
|
69 | $this->doctrine = $doctrine; |
|
70 | $this->formFactory = $formFactory; |
|
71 | $this->paginator = $paginator; |
|
72 | $this->urlGenerator = $urlGenerator; |
|
73 | $this->twig = $twig; |
|
74 | $this->userManager = $userManager; |
|
75 | } |
|
76 | ||
77 | /** |
|
78 | * @Route("/", bind="user_list", method="GET") |