Пример #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();
 }