Ejemplo n.º 1
0
 public function __construct(Db $db)
 {
     $this->db = $db;
     $this->store = $db->store;
     $this->age = $db->getAge();
     unset($this->count);
     $this->resource = curl_init();
     $this->makeResource([]);
 }
Ejemplo n.º 2
0
 public function __construct(Db $db, $name)
 {
     $this->db = $db;
     $this->wheres = $db->wheres;
     $this->orders = $db->orders;
     $this->selects = $db->selects;
     $this->offset = $db->offset;
     $this->limit = $db->limit;
     $this->store = $db->store;
     $this->joins = $db->joins;
     $this->age = $db->getAge();
 }
Ejemplo n.º 3
0
 public function __construct(Db $db, $closure = null)
 {
     $this->db = $db;
     $this->wheres = $db->wheres;
     $this->orders = $db->orders;
     $this->selects = $db->selects;
     $this->offset = $db->offset;
     $this->limit = $db->limit;
     $this->store = $db->store;
     $this->joins = $db->joins;
     $this->closure = $closure;
     $this->age = $db->getAge();
     unset($this->count);
     $this->cursor();
 }