/** * {@inheritdoc} */ public function setFile(ChunkFileInterface $file) { $this->fileHash = $file->getHash(); $this->mimetype = $file->getMimetype(); $this->size = $file->getSize(); $this->chunks = $file->getChunks(); }
/** * @return string * * @VirtualProperty() */ public function getMimetype() { return $this->chunkFile->getMimetype(); }