Exemplo n.º 1
0
 /**
  * @return \Doctrine\ORM\EntityManager
  */
 protected function _getEntityManager()
 {
     return Bootstrap::getInstance()->getEntityManager();
 }
Exemplo n.º 2
0
 /**
  * @return \Slim\Views\Twig
  */
 protected function _getView()
 {
     if (empty(self::$_view)) {
         self::$_view = \SlimForm\Bootstrap::getInstance()->getView();
     }
     return self::$_view;
 }
Exemplo n.º 3
0
 public function ngClose()
 {
     return \SlimForm\Bootstrap::getInstance()->getNgClose();
 }