Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Fahmi\Bundle\EmployeeBundle\Controller;
- use Symfony\Bundle\FrameworkBundle\Controller\Controller;
- use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
- use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
- /**
- * @Route("/employee")
- */
- class DefaultController extends Controller
- {
- /**
- * @Route("/hellox/{name}")
- * @Template()
- */
- public function index1Action($name)
- {
- return array('name' => $name);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement