Image.php
public function getCacheSystem()
    {
        if (is_null($this->cache)) {
            $this->cache = new \Gregwar\Cache\Cache();
            $this->cache->setCacheDirectory($this->cacheDir);
        }

        return $this->cache;
    }
public function getCacheSystem()
    {
        if (is_null($this->cache)) {
            $this->cache = new \Gregwar\Cache\Cache();
            $this->cache->setCacheDirectory($this->cacheDir);
        }

        return $this->cache;
    }
public function getCacheSystem ( ) { if ( is_null ( $ this -> cache ) ) { $ this -> cache = new \ Gregwar \ Cache \ Cache ( ) ; $ this -> cache -> setCacheDirectory ( $ this -> cacheDir ) ; } return $ this -> cache ; }
Get the cache system.

@return \Gregwar\Cache\CacheInterface
Get the cache system .