ConfigCacheInterface::write()

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.

Parameters

string $content The content to write into the cache
array $metadata An array of ResourceInterface instances

Exceptions

RuntimeException When the cache file cannot be written
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.