W3cubDocs

/Laravel 5.8

Factory

interface Factory (View source)

Methods

Connection connection(string|null $name = null)

Get a Redis connection by name.

Details

Connection connection(string|null $name = null)

Get a Redis connection by name.

Parameters

string|null $name

Return Value

Connection

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