19declare(strict_types=1);
50 $v = unserialize($value, []);
60 return parent::TYPE_FILE;
67 self::ARRAY_KEY_MIME => $this->
getMime(),
68 self::ARRAY_KEY_SIZE => $this->
getSize(),
69 self::ARRAY_KEY_TITLE => $this->
getTitle()
104 $clone = clone $this;
105 $clone->size =
$size;
115 $clone = clone $this;
a suggested solution for file-contents
withFilename(string $filename)
__construct(int $id, int $question_id, int $subquestion_index, string $import_id, \DateTimeImmutable $last_update, string $type, string $value)
DateTimeImmutable $last_update
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc