bnomei/kirby-nitro

View on GitHub
classes/NitroCache.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace Bnomei;

use Kirby\Cache\FileCache;

class NitroCache extends FileCache
{
    // make a magic call to all methods of the cache
    public function __call($method, $args)
    {
        return call_user_func_array([Nitro::singleton()->cache(), $method], $args);
    }
}