Feat: Updating FIle Services, Updating Order Views to list product extra options
This commit is contained in:
1 parent
2b8fe5764c
commit
6025ea4304
10 files changed
+332
-13
No files matched your search
@@ -32,7 +32,15 @@ interface FileAdapterInterface
|
||||
public function delete(string $path): void;
|
||||
|
||||
/**
|
||||
* Streams the file at $path straight to the browser.
|
||||
* Streams the file at $path straight to the browser, inline (the
|
||||
* browser renders/previews it directly rather than prompting to save).
|
||||
*/
|
||||
public function retrieve(string $path, ?string $name = null): StreamedResponse;
|
||||
|
||||
/**
|
||||
* Same bytes as retrieve(), but as a forced attachment — the browser
|
||||
* always prompts to save, even for a type it could otherwise preview
|
||||
* (an image inline in a new tab).
|
||||
*/
|
||||
public function download(string $path, ?string $name = null): StreamedResponse;
|
||||
}
|
||||
Reference in new issue
Block a user