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

Breadcrumb

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

function CacheItemPoolInterface::deleteItems

Removes multiple items from the pool.

Parameters

string[] $keys: An array of keys that should be removed from the pool.

Return value

bool True if the items were successfully removed. False if there was an error.

Throws

InvalidArgumentException If any of the keys in $keys are not a legal value a \Psr\Cache\InvalidArgumentException MUST be thrown.

File

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

Class

CacheItemPoolInterface
CacheItemPoolInterface generates CacheItemInterface objects.

Namespace

Psr\Cache

Code

public function deleteItems(array $keys) : bool;
RSS feed
Powered by Drupal