public function join($table, $key, $operator = null, $value = null, $type = 'inner') { $this->query->join($table, $key, $operator, $value, $type); return $this->model; }