lib/PHPPdf/Core/FacadeBuilder.php
public function setCache($type, array $options = array())
    {
        $this->cacheType = $type;
        $this->cacheOptions = $options;

        return $this;
    }
public function setCache($type, array $options = array())
    {
        $this->cacheType = $type;
        $this->cacheOptions = $options;

        return $this;
    }
public function setCache ( $ type , array $ options = array ( ) ) { $ this -> cacheType = $ type ; $ this -> cacheOptions = $ options ; return $ this ; }
Set cache type and options for facade

@param string $type Type of cache, see {@link PHPPdf\Cache\CacheImpl} engine constants
@param array $options Options for cache

@return FacadeBuilder
Set cache type and options for facade