public function __call($method, $arg) { if (method_exists($this, $method)) { return call_user_func_array(array($this, $method), $arg); } call_user_func_array(array($this->db, $method), $arg); return $this; }
public function __call($closure, $arguments) { return parent::__call($closure, $arguments); }