src/AppBundle/Controller/DefaultController.php line 48

Open in your IDE?
  1. <?php
  2.     namespace AppBundle\Controller;
  3.     use Pimcore\Controller\FrontendController;
  4.     use Pimcore\Extension\Document\Areabrick\AreabrickInterface;
  5.     use Symfony\Component\HttpFoundation\Request;
  6.     interface TemplateAreabrickInterface extends AreabrickInterface {
  7.         /**
  8.          * For convenience, you can create a new brick by extending
  9.          * Pimcore\Extension\Document\Areabrick\AbstractTemplateAreabrick
  10.          * to make use of template auto-discovery (thus, needing a minimum
  11.          * of code to get started). The template area brick implements the
  12.          * TemplateAreabrickInterface which defines the following methods
  13.          * you can use to control template auto-discovery. Please make
  14.          * sure your brick is defined inside a bundle as otherwise your
  15.          * templates can't be auto-discovered.
  16.          */
  17.         const TEMPLATE_LOCATION_GLOBAL 'global';
  18.         const TEMPLATE_LOCATION_BUNDLE 'bundle';
  19.         const TEMPLATE_SUFFIX_PHP 'html.php';
  20.         const TEMPLATE_SUFFIX_TWIG 'html.twig';
  21.         /**
  22.          * Determines if template should be auto-located in area bundle or in app/Resources
  23.          *
  24.          * @return string
  25.          */
  26.         public function getTemplateLocation();
  27.         /**
  28.          * Returns view suffix used to auto-build view names
  29.          *
  30.          * @return string
  31.          */
  32.         public function getTemplateSuffix();
  33.     }
  34.     class DefaultController extends FrontendController {
  35.         /**
  36.          * @param Request $request
  37.          */
  38.         public function DefaultActionRequest $request ) {
  39.         }
  40.     }