Пример #1
0
 public function __construct()
 {
     $this->init();
     $this->db = DB::get();
 }
Пример #2
0
 public function init($gw)
 {
     $this->gateway = $gw;
     $this->db = DB::get();
 }