Copied!
CloneableInstantiable
Methods
public __construct(string $path)
 

Creates a FileSystemCacheItemPool cache that stores values in local storage

  • param string $path The string representation of the path where the cache will store the serialized objects.
public clear() : bool
 
    public commit() : bool
     
      public deleteItem(string $key) : bool
       
        public deleteItems(array $keys) : bool
         
          public getItem(string $key) : Psr\Cache\CacheItemInterface
           
            public getItems(array $keys = []) : iterable
             
            • return iterable<\CacheItemInterface> An iterable object containing all the A traversable collection of Cache Items keyed by the cache keys of each item. A Cache item will be returned for each key, even if that key is not found. However, if no keys are specified then an empty traversable MUST be returned instead.
            public hasItem(string $key) : bool
             
              public save(Psr\Cache\CacheItemInterface $item) : bool
               
                public saveDeferred(Psr\Cache\CacheItemInterface $item) : bool
                 
                  Properties
                  private array $buffer = []
                   
                  • var \CacheItemInterface[]
                  private string $cachePath
                   
                  • var string
                  Methods
                  private cacheFilePath(string $key) : string
                  private validKey(string $key) : bool
                  © 2026 Bruce Wells
                  Search Namespaces \ Classes
                  Configuration