nextPartStart; } /** * Returns the next part's unix file mode in a uu-encoded 'begin' line if * one exists, or null otherwise. * * @return int|null The file mode or null */ public function getNextPartMode(): ?int { return $this->nextPartMode; } /** * Returns the next part's filename in a uu-encoded 'begin' line if one * exists, or null otherwise. * * @return string|null The file name or null */ public function getNextPartFilename(): ?string { return $this->nextPartFilename; } /** * Sets the next part's start position within the message's raw stream. * */ public function setNextPartStart(int $nextPartStart): self { $this->nextPartStart = $nextPartStart; return $this; } /** * Sets the next part's unix file mode from its 'begin' line. */ public function setNextPartMode(int $nextPartMode): self { $this->nextPartMode = $nextPartMode; return $this; } /** * Sets the next part's filename from its 'begin' line. * */ public function setNextPartFilename(string $nextPartFilename): self { $this->nextPartFilename = $nextPartFilename; return $this; } /** * Sets the next part start position, file mode, and filename to null */ public function clearNextPart(): self { $this->nextPartStart = null; $this->nextPartMode = null; $this->nextPartFilename = null; return $this; } }