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

Breadcrumb

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

function CacheItemPoolInterface::save

Persists a cache item immediately.

Parameters

CacheItemInterface $item: The cache item to save.

Return value

bool True if the item was successfully persisted. False if there was an error.

File

vendor/psr/cache/src/CacheItemPoolInterface.php, line 118

Class

CacheItemPoolInterface
CacheItemPoolInterface generates CacheItemInterface objects.

Namespace

Psr\Cache

Code

public function save(CacheItemInterface $item) : bool;
RSS feed
Powered by Drupal