src/AbstractUpload.php
public function withTargetFilename($targetFilename) {
		$targetFilename = (string) $targetFilename;
		$targetFilename = \trim($targetFilename);

		$this->targetFilename = $targetFilename;

		return $this;
	}
public function withTargetFilename($targetFilename) {
		$targetFilename = (string) $targetFilename;
		$targetFilename = \trim($targetFilename);

		$this->targetFilename = $targetFilename;

		return $this;
	}
public function withTargetFilename ( $ targetFilename ) { $ targetFilename = ( string ) $ targetFilename ; $ targetFilename = \ trim ( $ targetFilename ) ; $ this -> targetFilename = $ targetFilename ; return $ this ; }
Sets the target filename which uploaded files are to be stored with

If you do not specify a filename explicitly, a new random filename will be generated automatically

The filename should *not* include any file extension because the extension will be appended automatically

@param string $targetFilename
@return static this instance for chaining
Sets the target filename which uploaded files are to be stored with