FileStorageDriver
in
Interface FileStorageDriver
Defines the contract for a file storage driver, which is responsible for handling file storage operations.
Table of Contents
Methods
- put() : string
- Stores the given content at the specified path.
Methods
put()
Stores the given content at the specified path.
public
put(string $path, mixed $content) : string
Parameters
- $path : string
-
The file path where the content should be stored.
- $content : mixed
-
The content to be stored. Can be of any type.
Return values
string —Returns the path where the content was stored.