示例#1
0
 /**
  * Constructor
  *
  * @param Nette\DI\Container DI
  */
 public function __construct(Nette\DI\Container $context)
 {
     parent::__construct($context);
     Nette\Diagnostics\Debugger::addPanel(new vBuilder\Diagnostics\OrmSessionBar());
 }
示例#2
0
 /**
  * Constructor
  *
  * @param Nette\DI\Container DI
  */
 public function __construct(Nette\DI\Container $context)
 {
     parent::__construct($context);
     $this->db = $this->context->getByType('DibiConnection');
 }