Advertisement
fahmihilmansyah

aa

Jun 15th, 2015
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.49 KB | None | 0 0
  1. <?php
  2.  
  3. namespace Fahmi\Bundle\EmployeeBundle\Controller;
  4.  
  5. use Symfony\Bundle\FrameworkBundle\Controller\Controller;
  6. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
  7. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
  8.  
  9. /**
  10.  * @Route("/employee")
  11.  */
  12.  
  13. class DefaultController extends Controller
  14. {
  15.     /**
  16.      * @Route("/hellox/{name}")
  17.      * @Template()
  18.      */
  19.     public function index1Action($name)
  20.     {
  21.         return array('name' => $name);
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement