public function createFileFromContent(
        $share,
        $path,
        $content,
        CreateFileFromContentOptions $options = null
    ) {
        $this->createFileFromContentAsync($share, $path, $content, $options)->wait();
    }
public function createFileFromContent(
        $share,
        $path,
        $content,
        CreateFileFromContentOptions $options = null
    ) {
        $this->createFileFromContentAsync($share, $path, $content, $options)->wait();
    }
public function createFileFromContent ( $ share , $ path , $ content , CreateFileFromContentOptions $ options = null ) { $ this -> createFileFromContentAsync ( $ share , $ path , $ content , $ options ) -> wait ( ) ; }
Creates a file from a provided content.

@param  string                             $share   the share name
@param  string                             $path    the path of the file
@param  StreamInterface|resource|string    $content the content used to
create the file
@param  CreateFileFromContentOptions|null  $options optional parameters

@return void
Creates a file from a provided content .