StoreFactory

class StoreFactory

StoreFactory create stores and connections.

Methods

static RedisStore|MemcachedStore createStore(Redis|RedisArray|RedisCluster|Client|Memcached $connection)

Details

static RedisStore|MemcachedStore createStore(Redis|RedisArray|RedisCluster|Client|Memcached $connection)

Parameters

Redis|RedisArray|RedisCluster|Client|Memcached $connection

Return Value

RedisStore|MemcachedStore

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Lock/Store/StoreFactory.html