azure-storage-file/src/File/FileRestProxy.php
public function createFile(
        $share,
        $path,
        $size,
        CreateFileOptions $options = null
    ) {
        return $this->createFileAsync(
            $share,
            $path,
            $size,
            $options
        )->wait();
    }
public function createFile(
        $share,
        $path,
        $size,
        CreateFileOptions $options = null
    ) {
        return $this->createFileAsync(
            $share,
            $path,
            $size,
            $options
        )->wait();
    }
Create a new file.

@param string                 $share   The share name.
@param string                 $path    The path and name of the file.
@param int                    $size    The size of the file.
@param CreateFileOptions|null $options The optional parameters.

@return void

@see https://docs.microsoft.com/en-us/rest/api/storageservices/create-file