getContents()
getContents(string $key) : string|boolean
Reads the contents of the file
Parameters
string | $key |
Returns
string|boolean —if cannot read content
Interface DriverInterface
getKeys(string $key = '', boolean|integer $recursive = false) : array
Returns an array of all keys (files and directories)
For storages that do not support directories, both parameters are irrelevant.
string | $key | (Optional) Key of a directory to get keys from. If not set - keys will be read from the storage root. |
boolean|integer | $recursive | (Optional) Read all items recursively. Pass integer value to specify recursion depth. |