RedisManager

RedisManager

class RedisManager implements Factory (View source)

Methods

__construct(string $driver, array $config)

Create a new Redis manager instance.

Connection connection(string $name = null)

Get a Redis connection by name.

Connection resolve(string|null $name = null)

Resolve the given connection by name.

mixed __call(string $method, array $parameters)

Pass methods onto the default Redis connection.

Details

__construct(string $driver, array $config)

Create a new Redis manager instance.

Parameters

string $driver
array $config

Connection connection(string $name = null)

Get a Redis connection by name.

Parameters

string $name

Return Value

Connection

Connection resolve(string|null $name = null)

Resolve the given connection by name.

Parameters

string|null $name

Return Value

Connection

Exceptions

InvalidArgumentException

mixed __call(string $method, array $parameters)

Pass methods onto the default Redis connection.

Parameters

string $method
array $parameters

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Redis/RedisManager.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部