public function setFileCreationMode($fileCreationMode) { $this->fileCreationMode = (int) $fileCreationMode; return $this; }