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