/** * @return array */ public function ids() { return $this->column($this->model->getPrimaryKey()); }
/** * @param AbstractModel $model * @param array $queryParams * @return string */ public function delete(AbstractModel $model, array $queryParams = []) { return $this->to(Inflector::dasherize($model->getTableName()) . '/' . $model->id(), $queryParams); }