W3cubDocs

/Symfony 4.1

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.
https://api.symfony.com/4.1/Symfony/Component/Lock/Store/StoreFactory.html