src/LdapTools/Configuration.php
public function setCacheType($type)
    {
        trigger_error('The '.__METHOD__.' method is deprecated and will be removed in a later version. Use setCache() instead.', E_USER_DEPRECATED);

        if (!defined('\LdapTools\Factory\CacheFactory::TYPE_'.strtoupper($type))) {
            throw new ConfigurationException(sprintf('Unknown cache type "%s".', $type));
        }
        $this->config['cacheType'] = $type;

        return $this;
    }
public function setCacheType($type)
    {
        trigger_error('The '.__METHOD__.' method is deprecated and will be removed in a later version. Use setCache() instead.', E_USER_DEPRECATED);

        if (!defined('\LdapTools\Factory\CacheFactory::TYPE_'.strtoupper($type))) {
            throw new ConfigurationException(sprintf('Unknown cache type "%s".', $type));
        }
        $this->config['cacheType'] = $type;

        return $this;
    }
public function setCacheType ( $ type ) { trigger_error ( 'The ' . __METHOD__ . ' method is deprecated and will be removed in a later version. Use setCache() instead.' , E_USER_DEPRECATED ) ; if ( ! defined ( '\LdapTools\Factory\CacheFactory::TYPE_' . strtoupper ( $ type ) ) ) { throw new ConfigurationException ( sprintf ( 'Unknown cache type "%s".' , $ type ) ) ; } $ this -> config [ 'cacheType' ] = $ type ; return $ this ; }
Set the cache type to use.

@param $type
@return $this
@throws ConfigurationException
@deprecated This function will be removed in a later version. Use setCache() instead.
Set the cache type to use .