write(string $content, array $metadata = null)
Writes the given content into the cache file. Metadata will be stored independently and can be used to check cache freshness at a later time.
write(string $content, array $metadata = null)
Writes the given content into the cache file. Metadata will be stored independently and can be used to check cache freshness at a later time.
string | $content | The content to write into the cache |
array | $metadata | An array of ResourceInterface instances |
RuntimeException | When the cache file cannot be written |
Designed by : w10schools
service@w10schools.com
Please login to continue.