creationDate = new DateTime(); $this->uuid = Uuid::uuid4(); } public function getCreationDate(): DateTime { return $this->creationDate; } public function getDatas() { return $this->datas; } public function getFilename() { return $this->filename; } public function getId() { return $this->id; } public function getIv() { return $this->iv; } public function getKeyInfos() { return $this->keyInfos; } /** * @deprecated Use method "getFilename()". */ public function getObjectName() { return $this->getFilename(); } public function getType() { return $this->type; } public function getUuid(): UuidInterface { return $this->uuid; } public function getWopiDocId(): string { return (string) $this->uuid; } public function setCreationDate(DateTime $creationDate) { $this->creationDate = $creationDate; return $this; } public function setDatas(array $datas) { $this->datas = $datas; return $this; } public function setFilename($filename) { $this->filename = $filename; return $this; } public function setIv($iv) { $this->iv = $iv; return $this; } public function setKeyInfos($keyInfos) { $this->keyInfos = $keyInfos; return $this; } public function setType($type) { $this->type = $type; return $this; } }