Skip to content

Commit 33ab90a

Browse files
authored
Merge pull request #315 from Geolim4/final
Added missing phpDoc methods in CacheManager…
2 parents dadb0d5 + 322ba35 commit 33ab90a

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

src/phpFastCache/CacheManager.php

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,21 @@
2222
* Class CacheManager
2323
* @package phpFastCache
2424
*
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
3640
*
3741
*/
3842
class CacheManager
@@ -180,12 +184,12 @@ public static function setNamespacePath($path)
180184
/**
181185
* @param $name
182186
* @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.
184188
* @throws \InvalidArgumentException
185189
*/
186190
public static function setup($name, $value = '')
187191
{
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.');
189193
self::setDefaultConfig($name, $value);
190194
}
191195

0 commit comments

Comments
 (0)