HH\Lib\Experimental\File\open_write_only

namespace HH\Lib\Experimental\File;

function open_write_only(
  string $path,
  WriteMode $mode = WriteMode::OPEN_OR_CREATE,
): DisposableWriteHandle;

Parameters

  • string $path
  • WriteMode $mode = WriteMode::OPEN_OR_CREATE

Returns