Controller/SiteSettingController.php 1 location
|
@@ 28-36 (lines=9) @@
|
| 25 |
|
* |
| 26 |
|
* @return Response |
| 27 |
|
*/ |
| 28 |
|
public function indexAction(Request $request) |
| 29 |
|
{ |
| 30 |
|
$repos = $this->get('loevgaard_dandomain_altapay.site_setting_repository'); |
| 31 |
|
$siteSettings = $repos->findAllWithPaging($request->query->getInt('page', 1)); |
| 32 |
|
|
| 33 |
|
return $this->render('@LoevgaardDandomainAltapay/site_setting/index.html.twig', [ |
| 34 |
|
'siteSettings' => $siteSettings, |
| 35 |
|
]); |
| 36 |
|
} |
| 37 |
|
|
| 38 |
|
/** |
| 39 |
|
* @Method("GET") |
Controller/TerminalController.php 1 location
|
@@ 25-35 (lines=11) @@
|
| 22 |
|
* |
| 23 |
|
* @return Response |
| 24 |
|
*/ |
| 25 |
|
public function indexAction(Request $request) |
| 26 |
|
{ |
| 27 |
|
$terminalRepository = $this->container->get('loevgaard_dandomain_altapay.terminal_repository'); |
| 28 |
|
|
| 29 |
|
/** @var Terminal[] $terminals */ |
| 30 |
|
$terminals = $terminalRepository->findAllWithPaging($request->query->getInt('page', 1)); |
| 31 |
|
|
| 32 |
|
return $this->render('@LoevgaardDandomainAltapay/terminal/index.html.twig', [ |
| 33 |
|
'terminals' => $terminals, |
| 34 |
|
]); |
| 35 |
|
} |
| 36 |
|
} |
| 37 |
|
|