ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
FileStreamWriteAccess.php
Go to the documentation of this file.
1<?php
2
4
9use Psr\Http\Message\StreamInterface;
10
25{
26
43 public function writeStream(string $path, FileStream $stream);
44
45
62 public function putStream(string $path, FileStream $stream);
63
64
81 public function updateStream(string $path, FileStream $stream);
82}
An exception for terminatinating execution or to throw for unit testing.
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.