12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
-
- namespace Muzich\CoreBundle\Controller;
-
- use Muzich\CoreBundle\lib\Controller;
- use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
- use Symfony\Component\HttpFoundation\Response;
- use Symfony\Component\HttpKernel\Exception\HttpException;
-
- class InfoController extends Controller
- {
-
-
- /**
- *
- * @Template()
- */
- public function aboutAction()
- {
- return array();
- }
-
- /**
- *
- * @Template()
- */
- public function developmentAction()
- {
- return array();
- }
-
- /**
- *
- * @Template()
- */
- public function sitesAction()
- {
- return array();
- }
-
- public function teapotAction()
- {
- throw new HttpException(418, "I'm a teapot !");
- }
-
- }
|