diff --git a/src/phpFastCache/CacheManager.php b/src/phpFastCache/CacheManager.php index 6595d2511..30d592baa 100644 --- a/src/phpFastCache/CacheManager.php +++ b/src/phpFastCache/CacheManager.php @@ -22,17 +22,21 @@ * Class CacheManager * @package phpFastCache * - * @method static DriverAbstract Apc() Apc($config = []) Return a driver "apc" instance - * @method static DriverAbstract Cookie() Cookie($config = []) Return a driver "cookie" instance - * @method static DriverAbstract Files() Files($config = []) Return a driver "files" instance - * @method static DriverAbstract Memcache() Memcache($config = []) Return a driver "memcache" instance - * @method static DriverAbstract Memcached() Memcached($config = []) Return a driver "memcached" instance - * @method static DriverAbstract Predis() Predis($config = []) Return a driver "predis" instance - * @method static DriverAbstract Redis() Redis($config = []) Return a driver "redis" instance - * @method static DriverAbstract Sqlite() Sqlite($config = []) Return a driver "sqlite" instance - * @method static DriverAbstract Ssdb() Ssdb($config = []) Return a driver "ssdb" instance - * @method static DriverAbstract Wincache() Wincache($config = []) Return a driver "wincache" instance - * @method static DriverAbstract Xcache() Xcache($config = []) Return a driver "xcache" instance + * @method static ExtendedCacheItemPoolInterface Apc() Apc($config = []) Return a driver "apc" instance + * @method static ExtendedCacheItemPoolInterface Apcu() Apcu($config = []) Return a driver "apcu" instance + * @method static ExtendedCacheItemPoolInterface Cookie() Cookie($config = []) Return a driver "cookie" instance + * @method static ExtendedCacheItemPoolInterface Couchbase() Couchbase($config = []) Return a driver "couchbase" instance + * @method static ExtendedCacheItemPoolInterface Files() Files($config = []) Return a driver "files" instance + * @method static ExtendedCacheItemPoolInterface Leveldb() Leveldb($config = []) Return a driver "leveldb" instance + * @method static ExtendedCacheItemPoolInterface Memcache() Memcache($config = []) Return a driver "memcache" instance + * @method static ExtendedCacheItemPoolInterface Memcached() Memcached($config = []) Return a driver "memcached" instance + * @method static ExtendedCacheItemPoolInterface Mongodb() Mongodb($config = []) Return a driver "mongodb" instance + * @method static ExtendedCacheItemPoolInterface Predis() Predis($config = []) Return a driver "predis" instance + * @method static ExtendedCacheItemPoolInterface Redis() Redis($config = []) Return a driver "redis" instance + * @method static ExtendedCacheItemPoolInterface Sqlite() Sqlite($config = []) Return a driver "sqlite" instance + * @method static ExtendedCacheItemPoolInterface Ssdb() Ssdb($config = []) Return a driver "ssdb" instance + * @method static ExtendedCacheItemPoolInterface Wincache() Wincache($config = []) Return a driver "wincache" instance + * @method static ExtendedCacheItemPoolInterface Xcache() Xcache($config = []) Return a driver "xcache" instance * */ class CacheManager @@ -180,12 +184,12 @@ public static function setNamespacePath($path) /** * @param $name * @param string $value - * @deprecated Method "setup" is deprecated and will be removed in 5.1. Use method "setDefaultConfig" instead. + * @deprecated Method "setup" is deprecated and will be removed in V6. Use method "setDefaultConfig" instead. * @throws \InvalidArgumentException */ public static function setup($name, $value = '') { - trigger_error('Method "setup" is deprecated and will be removed in 5.1. Use method "setDefaultConfig" instead.'); + trigger_error('Method "setup" is deprecated and will be removed in V6 Use method "setDefaultConfig" instead.'); self::setDefaultConfig($name, $value); }