An exception for terminatinating execution or to throw for unit testing.
Class FileAlreadyExistsException.
Class FileNotFoundException.
Interface FileStreamWriteAccess.
writeStream(string $path, FileStream $stream)
Writes the stream to a new file.
putStream(string $path, FileStream $stream)
Creates a new file or updates an existing one.
updateStream(string $path, FileStream $stream)
Updates an existing file.
$stream
PHP stream implementation.