Eloquent\Pathogen\FileSystem\Factory\AbstractFileSystemPathFactory::createTemporaryPath PHP Method

createTemporaryPath() public method

This path is not guaranteed to be unused, but collisions are fairly unlikely.
public createTemporaryPath ( string | null $prefix = null ) : Eloquent\Pathogen\FileSystem\AbsoluteFileSystemPathInterface
$prefix string | null A string to use as a prefix for the path name.
return Eloquent\Pathogen\FileSystem\AbsoluteFileSystemPathInterface A new path instance representing the new temporary path.
    public function createTemporaryPath($prefix = null)
    {
        if (null === $prefix) {
            $prefix = '';
        }
        return $this->createTemporaryDirectoryPath()->joinAtoms($this->isolator()->uniqid($prefix, true));
    }