public function __construct()
 {
     $this->months = \MyHTML::initMonths();
     $this->mongo = Mongo::connect();
     $this->conditions = $this->_setConditions();
     //$this->middleware('auth');
 }
Пример #2
0
 /**
  * Create a new command instance.
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->mongo = Mongo::connect();
 }