コード例 #1
0
ファイル: DbExists.php プロジェクト: fousheezy/slim-form
 /**
  * @return \Doctrine\ORM\EntityManager
  */
 protected function _getEntityManager()
 {
     return Bootstrap::getInstance()->getEntityManager();
 }
コード例 #2
0
ファイル: Element.php プロジェクト: fousheezy/slim-form
 /**
  * @return \Slim\Views\Twig
  */
 protected function _getView()
 {
     if (empty(self::$_view)) {
         self::$_view = \SlimForm\Bootstrap::getInstance()->getView();
     }
     return self::$_view;
 }
コード例 #3
0
ファイル: Extension.php プロジェクト: fousheezy/slim-form
 public function ngClose()
 {
     return \SlimForm\Bootstrap::getInstance()->getNgClose();
 }