19declare(strict_types=1);
41 int $next_version_number,
42 int $revision_owner_id,
43 string $revision_title
46 $this->file_name = $this->
upload->getName();
47 $this->suffix = pathinfo($this->file_name, PATHINFO_EXTENSION);
48 $this->mime_type = $this->
upload->getMimeType();
49 $this->creation_date = new \DateTimeImmutable();
74 return $this->
upload->getSize();
__construct(protected UploadResult $upload, int $next_version_number, int $revision_owner_id, string $revision_title)
DateTimeImmutable $creation_date
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc