PhpFilesAdapter
        
        extends AbstractAdapter
    
    
            
            in package
            
        
    
            
            implements
                            PruneableInterface                    
    
            
            Uses
                            FilesystemCommonTrait                    
    
        
        
    Tags
Interfaces, Classes, Traits and Enums
- PruneableInterface
 - Interface extends psr-6 and psr-16 caches to allow for pruning (deletion) of all expired cache items.
 
Table of Contents
- $apcuSupported : mixed
 - $appendOnly : mixed
 - $files : mixed
 - $includeHandler : mixed
 - $phpFilesSupported : mixed
 - $startTime : mixed
 - $values : mixed
 - $valuesCache : mixed
 - __construct() : mixed
 - commit() : bool
 - {@inheritdoc}
 - createConnection() : mixed
 - createSystemCache() : AdapterInterface
 - Returns the best possible adapter that your runtime supports.
 - isSupported() : mixed
 - prune() : bool
 - doClear() : mixed
 - {@inheritdoc}
 - doDelete() : mixed
 - {@inheritdoc}
 - doFetch() : mixed
 - {@inheritdoc}
 - doHave() : mixed
 - {@inheritdoc}
 - doSave() : mixed
 - {@inheritdoc}
 - doUnlink() : mixed
 - getFileKey() : string
 
Properties
$apcuSupported
    private
    static    mixed
    $apcuSupported
    
        
        
    
$appendOnly
    private
        mixed
    $appendOnly
    
        
        
    
$files
    private
        mixed
    $files
     = []
        
        
    
$includeHandler
    private
        mixed
    $includeHandler
    
        
        
    
$phpFilesSupported
    private
    static    mixed
    $phpFilesSupported
    
        
        
    
$startTime
    private
    static    mixed
    $startTime
    
        
        
    
$values
    private
        mixed
    $values
     = []
        
        
    
$valuesCache
    private
    static    mixed
    $valuesCache
     = []
        
        
    
Methods
__construct()
    public
                    __construct([string $namespace = '' ], int $defaultLifetime[, string $directory = null ][,  $appendOnly = false ]) : mixed
    
        Parameters
- $namespace : string = ''
 - $defaultLifetime : int
 - $directory : string = null
 - $appendOnly : = false
 - 
                    
Set to
trueto gain extra performance when the items stored in this pool never expire. Doing so is encouraged because it fits perfectly OPcache's memory model. 
Tags
Return values
mixed —commit()
{@inheritdoc}
    public
                    commit() : bool
    
    
    
        Return values
bool —createConnection()
    public
            static        createConnection(string $dsn[, array<string|int, mixed> $options = [] ]) : mixed
        
        Parameters
- $dsn : string
 - $options : array<string|int, mixed> = []
 
Return values
mixed —createSystemCache()
Returns the best possible adapter that your runtime supports.
    public
            static        createSystemCache(string $namespace, int $defaultLifetime, string $version, string $directory[, LoggerInterface $logger = null ]) : AdapterInterface
        Using ApcuAdapter makes system caches compatible with read-only filesystems.
Parameters
- $namespace : string
 - $defaultLifetime : int
 - $version : string
 - $directory : string
 - $logger : LoggerInterface = null
 
Return values
AdapterInterface —isSupported()
    public
            static        isSupported() : mixed
        
    
    
        Return values
mixed —prune()
    public
                    prune() : bool
    
    
    
        Return values
bool —doClear()
{@inheritdoc}
    protected
                    doClear(string $namespace) : mixed
    
        Parameters
- $namespace : string
 
Return values
mixed —doDelete()
{@inheritdoc}
    protected
                    doDelete(array<string|int, mixed> $ids) : mixed
    
        Parameters
- $ids : array<string|int, mixed>
 
Return values
mixed —doFetch()
{@inheritdoc}
    protected
                    doFetch(array<string|int, mixed> $ids) : mixed
    
        Parameters
- $ids : array<string|int, mixed>
 
Return values
mixed —doHave()
{@inheritdoc}
    protected
                    doHave(string $id) : mixed
    
        Parameters
- $id : string
 
Return values
mixed —doSave()
{@inheritdoc}
    protected
                    doSave(array<string|int, mixed> $values, int $lifetime) : mixed
    
        Parameters
- $values : array<string|int, mixed>
 - $lifetime : int
 
Return values
mixed —doUnlink()
    protected
                    doUnlink(mixed $file) : mixed
        
        Parameters
- $file : mixed
 
Return values
mixed —getFileKey()
    private
                    getFileKey(string $file) : string
        
        Parameters
- $file : string