Skip to content

Commit

Permalink
Merge pull request #315 from Geolim4/final
Browse files Browse the repository at this point in the history
Added missing phpDoc methods in CacheManager…
  • Loading branch information
Geolim4 authored Jul 6, 2016
2 parents dadb0d5 + 322ba35 commit 33ab90a
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions src/phpFastCache/CacheManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 33ab90a

Please sign in to comment.