PHP Class Webiny\Component\Cache\Storage\Memcache

Afficher le fichier Open project: Webiny/Framework Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat Webiny\Component\Cache\Bridge\CacheStorageInterface