Skip to content

eskirex/cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eskirex Cache Component

Hello. This is Cache component.

Examples

<?php
    use Eskirex\Component\Cache\VariableCache;
    
    require __DIR__ . '/vendor/autoload.php';
    
    $cacheNode1 = new VariableCache('foo_bar_baz');
    
    $cacheNode1->set('foo', [
        'bar' => 'baz'
    ]);
    
    print_r($cacheNode1->get('foo'));
    // Array
    // (
    //     [bar] => baz
    // )
    
    
    $cacheNode2 = new VariableCache('foo_bar_baz');
    
    print_r($cacheNode2->get('foo'));
    // Array
    // (
    //     [bar] => baz
    // )

License

MIT

About

Eskirex Cache Handler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages