/** * @return string * The primary key of this model */ public function primaryKeyValue() : string { return $this->file->getFilePath(); }
/** * @return array * Get a map from column name to row values for * this instance */ public function toRow() : array { return ['file_path' => $this->file->getFilePath(), 'modification_time' => $this->file->getModificationTime()]; }