1 | <?php |
||
12 | class StreamResponse extends Response |
||
13 | { |
||
14 | /** |
||
15 | * @param string $directory |
||
16 | * @param string $filename |
||
17 | * @param bool $appendSuffix |
||
18 | * @author kaylv <[email protected]> |
||
19 | * @return string |
||
20 | * @throws InvalidArgumentException |
||
21 | * @throws RuntimeException |
||
22 | */ |
||
23 | public function save(string $directory, string $filename = '', bool $appendSuffix = true) |
||
59 | |||
60 | /** |
||
61 | * @param string $directory |
||
62 | * @param string $filename |
||
63 | * @param bool $appendSuffix |
||
64 | * @author kaylv <[email protected]> |
||
65 | * @return string |
||
66 | */ |
||
67 | public function saveAs(string $directory, string $filename, bool $appendSuffix = true) |
||
71 | } |
||
72 |