public function __construct($name, $tempName, $size, $mimetype, $error) { $this->name = FileSystemUtils::sanitizeFilename($name); $this->tempName = $tempName; $this->size = $size; $this->mimetype = $mimetype; $this->error = $error; }