PHP Class Webiny\Component\Cache\Storage\Redis

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

Méthodes publiques

Méthode Description
getInstance ( string $host = 'localhost', integer $port = 6379 ) : Webiny\Component\Cache\Bridge\CacheStorageInterface Get an instance of Redis cache storage.

Method Details

getInstance() public static méthode

Get an instance of Redis cache storage.
public static getInstance ( string $host = 'localhost', integer $port = 6379 ) : Webiny\Component\Cache\Bridge\CacheStorageInterface
$host string Host on which Redis server is running.
$port integer Port on which Redis server is running.
Résultat Webiny\Component\Cache\Bridge\CacheStorageInterface