/**
* Moves the file to a new location.
*
* @throws FileException if the target file could not be created
*/ publicfunctionmove(string $directory, string $name = null): self { $target = $this->getTargetFile($directory, $name);
/**
* Moves the file to a new location.
*
* @throws FileException if the target file could not be created
*/ publicfunctionmove(string $directory, string $name = null): self { $target = $this->getTargetFile($directory, $name);