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