for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @license MIT, http://opensource.org/licenses/MIT
* @copyright Aimeos (aimeos.org), 2014-2016
* @package symfony
* @subpackage Controller
*/
namespace Aimeos\ShopBundle\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
* Aimeos controller for all page request.
*
class PageController extends AbstractController
{
* Returns the html for the privacy policy page.
* @return Response Response object containing the generated output
public function privacyAction( \Twig\Environment $twig ) : Response
return $twig->render( '@AimeosShop/Page/privacy.html.twig' );
}
* Returns the html for the terms and conditions page.
public function termsAction( \Twig\Environment $twig ) : Response
return $twig->render( '@AimeosShop/Page/terms.html.twig' );