PHP Class Webiny\Component\Cache\Storage\Memcache

显示文件 Open project: Webiny/Framework Class Usage Examples

Public Methods

Method Description
getInstance ( string $host = '127.0.0.1', integer $port = 11211 ) : Webiny\Component\Cache\Bridge\CacheStorageInterface Get an instance of Memcache cache storage.

Method Details

getInstance() public static method

Get an instance of Memcache cache storage.
public static getInstance ( string $host = '127.0.0.1', integer $port = 11211 ) : Webiny\Component\Cache\Bridge\CacheStorageInterface
$host string Host on which memcached is running.
$port integer Port on which memcached is running.
return Webiny\Component\Cache\Bridge\CacheStorageInterface