Пример #1
0
 /**
  * Constructor.
  * 
  * @param \CodeIgniter\Database\Forge $forge
  */
 public function __construct(Forge $forge = null)
 {
     $this->forge = !is_null($forge) ? $forge : \Config\Database::forge($this->DBGroup);
     $this->db = $this->forge->getConnection();
 }