Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ReadOnlyFilesystemCache.php

function ReadOnlyFilesystemCache::write

Overrides FilesystemCache::write

File

vendor/twig/twig/src/Cache/ReadOnlyFilesystemCache.php, line 21

Class

ReadOnlyFilesystemCache
Implements a cache on the filesystem that can only be read, not written to.

Namespace

Twig\Cache

Code

public function write(string $key, string $content) : void {
    // Do nothing with the content, it's a read-only filesystem.
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal