Storage
in package
Stores the given content at the specified path using the FileStorageDriver.
Table of Contents
Methods
- put() : string
- Stores the given content at the specified path using the file storage driver.
Methods
put()
Stores the given content at the specified path using the file storage driver.
public
static put(string $path, mixed $content) : string
Parameters
- $path : string
-
The path where the content should be stored.
- $content : mixed
-
The content to be stored. Can be of any type supported by the storage driver.
Return values
string —The path where the content was stored.