1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15699] Rewrite acp_storage

PHPBB3-15699
This commit is contained in:
Ruben Calvo
2023-09-22 16:52:22 +02:00
parent 4974f86059
commit 58ecd3b048
27 changed files with 954 additions and 621 deletions

View File

@@ -13,7 +13,7 @@
namespace phpbb\storage;
use phpbb\storage\exception\exception;
use phpbb\storage\exception\storage_exception;
interface stream_interface
{
@@ -23,7 +23,7 @@ interface stream_interface
* @param string $path File to read
*
* @return resource Returns a file pointer
* @throws exception When unable to open file
* @throws storage_exception When unable to open file
*/
public function read_stream(string $path);
@@ -34,7 +34,7 @@ interface stream_interface
* @param resource $resource The resource
*
* @return void
* @throws exception When target file exists
* @throws storage_exception When target file exists
* When target file cannot be created
*/
public function write_stream(string $path, $resource): void;