Isswp101\Persimmon\Traits\Cacheable::cache PHP Method

cache() final protected static method

Return model cache instance.
final protected static cache ( ) : RuntimeCache
return Isswp101\Persimmon\Cache\RuntimeCache
    protected static final function cache()
    {
        if (!array_key_exists(static::class, self::$cache)) {
            self::$cache[static::class] = new RuntimeCache();
        }
        return self::$cache[static::class];
    }
Cacheable