W3cubDocs

/Laravel 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/8.x/Illuminate/Contracts/Redis/Factory.html