Cache
    
            
            in package
            
        
    
    
    
Implements simple caching
Tags
Table of Contents
Properties
- $cacheDir : string
 
Methods
- __construct() : mixed
 - check() : bool
 - get() : string|null
 - put() : void
 - getPath() : string
 
Properties
$cacheDir
    private
        string
    $cacheDir
    
    
    
    
Methods
__construct()
    public
                    __construct(string $cacheDir) : mixed
    Parameters
- $cacheDir : string
 
check()
    public
                    check(HeaderData $header, MetadataFormat $format) : bool
    Parameters
- $header : HeaderData
 - $format : MetadataFormat
 
Return values
boolget()
    public
                    get(HeaderData $header, MetadataFormat $format) : string|null
    Parameters
- $header : HeaderData
 - $format : MetadataFormat
 
Return values
string|nullput()
    public
                    put(HeaderData $header, MetadataFormat $format, DOMDocument $doc) : void
    Parameters
- $header : HeaderData
 - $format : MetadataFormat
 - $doc : DOMDocument
 
getPath()
    private
                    getPath(string $id, string $metaPrefix) : string
    Parameters
- $id : string
 - $metaPrefix : string