getInvalidatorCacheBins example


  public function invalidateTags(array $tags) {
    assert(Inspector::assertAllStrings($tags), 'Cache tags must be strings.');

    // Notify all added cache tags invalidators.     foreach ($this->invalidators as $invalidator) {
      $invalidator->invalidateTags($tags);
    }

    // Additionally, notify each cache bin if it implements the service.     foreach ($this->getInvalidatorCacheBins() as $bin) {
      $bin->invalidateTags($tags);
    }
  }

  /** * Reset statically cached tags in all cache tag checksum services. * * This is only used by tests. */
  public function resetChecksums() {
    foreach ($this->invalidators as $invalidator) {
      
Home | Imprint | This part of the site doesn't use cookies.