|
22 | 22 | * Class CacheManager
|
23 | 23 | * @package phpFastCache
|
24 | 24 | *
|
25 |
| - * @method static DriverAbstract Apc() Apc($config = []) Return a driver "apc" instance |
26 |
| - * @method static DriverAbstract Cookie() Cookie($config = []) Return a driver "cookie" instance |
27 |
| - * @method static DriverAbstract Files() Files($config = []) Return a driver "files" instance |
28 |
| - * @method static DriverAbstract Memcache() Memcache($config = []) Return a driver "memcache" instance |
29 |
| - * @method static DriverAbstract Memcached() Memcached($config = []) Return a driver "memcached" instance |
30 |
| - * @method static DriverAbstract Predis() Predis($config = []) Return a driver "predis" instance |
31 |
| - * @method static DriverAbstract Redis() Redis($config = []) Return a driver "redis" instance |
32 |
| - * @method static DriverAbstract Sqlite() Sqlite($config = []) Return a driver "sqlite" instance |
33 |
| - * @method static DriverAbstract Ssdb() Ssdb($config = []) Return a driver "ssdb" instance |
34 |
| - * @method static DriverAbstract Wincache() Wincache($config = []) Return a driver "wincache" instance |
35 |
| - * @method static DriverAbstract Xcache() Xcache($config = []) Return a driver "xcache" instance |
| 25 | + * @method static ExtendedCacheItemPoolInterface Apc() Apc($config = []) Return a driver "apc" instance |
| 26 | + * @method static ExtendedCacheItemPoolInterface Apcu() Apcu($config = []) Return a driver "apcu" instance |
| 27 | + * @method static ExtendedCacheItemPoolInterface Cookie() Cookie($config = []) Return a driver "cookie" instance |
| 28 | + * @method static ExtendedCacheItemPoolInterface Couchbase() Couchbase($config = []) Return a driver "couchbase" instance |
| 29 | + * @method static ExtendedCacheItemPoolInterface Files() Files($config = []) Return a driver "files" instance |
| 30 | + * @method static ExtendedCacheItemPoolInterface Leveldb() Leveldb($config = []) Return a driver "leveldb" instance |
| 31 | + * @method static ExtendedCacheItemPoolInterface Memcache() Memcache($config = []) Return a driver "memcache" instance |
| 32 | + * @method static ExtendedCacheItemPoolInterface Memcached() Memcached($config = []) Return a driver "memcached" instance |
| 33 | + * @method static ExtendedCacheItemPoolInterface Mongodb() Mongodb($config = []) Return a driver "mongodb" instance |
| 34 | + * @method static ExtendedCacheItemPoolInterface Predis() Predis($config = []) Return a driver "predis" instance |
| 35 | + * @method static ExtendedCacheItemPoolInterface Redis() Redis($config = []) Return a driver "redis" instance |
| 36 | + * @method static ExtendedCacheItemPoolInterface Sqlite() Sqlite($config = []) Return a driver "sqlite" instance |
| 37 | + * @method static ExtendedCacheItemPoolInterface Ssdb() Ssdb($config = []) Return a driver "ssdb" instance |
| 38 | + * @method static ExtendedCacheItemPoolInterface Wincache() Wincache($config = []) Return a driver "wincache" instance |
| 39 | + * @method static ExtendedCacheItemPoolInterface Xcache() Xcache($config = []) Return a driver "xcache" instance |
36 | 40 | *
|
37 | 41 | */
|
38 | 42 | class CacheManager
|
@@ -180,12 +184,12 @@ public static function setNamespacePath($path)
|
180 | 184 | /**
|
181 | 185 | * @param $name
|
182 | 186 | * @param string $value
|
183 |
| - * @deprecated Method "setup" is deprecated and will be removed in 5.1. Use method "setDefaultConfig" instead. |
| 187 | + * @deprecated Method "setup" is deprecated and will be removed in V6. Use method "setDefaultConfig" instead. |
184 | 188 | * @throws \InvalidArgumentException
|
185 | 189 | */
|
186 | 190 | public static function setup($name, $value = '')
|
187 | 191 | {
|
188 |
| - trigger_error('Method "setup" is deprecated and will be removed in 5.1. Use method "setDefaultConfig" instead.'); |
| 192 | + trigger_error('Method "setup" is deprecated and will be removed in V6 Use method "setDefaultConfig" instead.'); |
189 | 193 | self::setDefaultConfig($name, $value);
|
190 | 194 | }
|
191 | 195 |
|
|
0 commit comments