diff --git a/src/Entity/StreamFile.php b/src/Entity/StreamFile.php new file mode 100644 index 0000000..885a852 --- /dev/null +++ b/src/Entity/StreamFile.php @@ -0,0 +1,57 @@ +get('name'); + } + + public function setName(string $name): self + { + $this->set('name', $name); + return $this; + } + + public function getContent(): StreamInterface + { + return $this->get('content'); + } + + public function setContent(StreamInterface $content): self + { + $this->set('content', $content); + return $this; + } + + public function getContentType(): ?string + { + return $this->get('content_type'); + } + + public function setContentType(string $contentType): self + { + $this->set('content_type', $contentType); + return $this; + } + + public function getSize(): ?int + { + return $this->get('size'); + } + + public function setSize(int $size): self + { + $this->set('size', $size); + return $this; + } +}