コード例 #1
0
 /**
  * @Route("/bike", name="bikehomepage")
  */
 public function bikeIndexAction(Request $request)
 {
     echo 'from controller ' . \rmc\CoreBundle\Lib\MyVertical::getVertical() . "<br />";
     echo 'from controller ' . \rmc\CoreBundle\Lib\MyVertical::getVertical() . "<br />";
     echo 'from controller ' . \rmc\CoreBundle\Lib\MyVertical::getVertical() . "<br />";
     // replace this example code with whatever you need
     return $this->render('default/index.html.twig', array('base_dir' => realpath($this->getParameter('kernel.root_dir') . '/..')));
 }
コード例 #2
0
ファイル: Tmp.php プロジェクト: jignesh-russmediatech/rmcdemo
 public static function getDemo()
 {
     echo 'FROM TMP ' . MyVertical::getVertical();
 }