Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00%
0 / 1
50.00%
1 / 2
CRAP
50.00%
1 / 2
LandingController
0.00%
0 / 1
50.00%
1 / 2
2.50
50.00%
1 / 2
 indexAction()
100.00%
1 / 1
1
100.00%
1 / 1
 aboutAction()
0.00%
0 / 1
2
0.00%
0 / 1
<?php
namespace BodyRep\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use BodyRep\Form\ContactType;
class LandingController extends Controller
{
/**
* @Route("/", name="_landing")
* @Template()
*/
public function indexAction()
{
/*
* The action's view can be rendered using render() method
* or @Template annotation as demonstrated in DemoController.
*
*/
return $this->render('BodyRep:Landing:index.html.twig');
}
/**
* @Route("/about", name="_landing_about")
* @Template()
*/
public function aboutAction()
{
/*
* The action's view can be rendered using render() method
* or @Template annotation as demonstrated in DemoController.
*
*/
return $this->render('BodyRep:Landing:about.html.twig');
}
}