/** * @param File $file * * @return $this */ public function saveFile(File $file) { $file->save(); $this->files[$file->getRealPath()] = $file; return $this; }
/** * @param array $data * @return bool * @throws Exception */ public function save(array $data = []) { return parent::save($data); }