size()
size(string $key) : int|false
Retrieves the size of the specified file (key).
This method returns the size of a file identified by its key. If the size
cannot be determined, it should return false
.
Parameters
string | $key | The file key for which the size is being retrieved. |
Returns
int|false —The size of the file in bytes, or false
if it cannot be determined.