public function console(Request $request)
    {
        return Admin::content(function (Content $content) use ($request) {
            $connection = $request->get('conn', 'default');

            $manager = $this->manager();

            $vars = [
                'conn'        => $connection,
                'info'        => $manager->getInformation(),
                'connections' => $manager->getConnections(),
            ];

            $view = 'laravel-admin-redis-manager::console';

            $content->header('Redis manager');
            $content->description('Connections');
            $content->breadcrumb(
                ['text' => 'Redis manager', 'url' => route('redis-index', ['conn' => $connection])],
                ['text' => 'Console']
            );
            $content->body(view($view, $vars));
        });
    }
public function console(Request $request)
    {
        return Admin::content(function (Content $content) use ($request) {
            $connection = $request->get('conn', 'default');

            $manager = $this->manager();

            $vars = [
                'conn'        => $connection,
                'info'        => $manager->getInformation(),
                'connections' => $manager->getConnections(),
            ];

            $view = 'laravel-admin-redis-manager::console';

            $content->header('Redis manager');
            $content->description('Connections');
            $content->breadcrumb(
                ['text' => 'Redis manager', 'url' => route('redis-index', ['conn' => $connection])],
                ['text' => 'Console']
            );
            $content->body(view($view, $vars));
        });
    }
public function console ( Request $ request ) { return Admin :: content ( function ( Content $ content ) use ( $ request ) { $ connection = $ request -> get ( 'conn' , 'default' ) ; $ manager = $ this -> manager ( ) ; $ vars = [ 'conn' => $ connection , 'info' => $ manager -> getInformation ( ) , 'connections' => $ manager -> getConnections ( ) , ] ; $ view = 'laravel-admin-redis-manager::console' ; $ content -> header ( 'Redis manager' ) ; $ content -> description ( 'Connections' ) ; $ content -> breadcrumb ( [ 'text' => 'Redis manager' , 'url' => route ( 'redis-index' , [ 'conn' => $ connection ] ) ] , [ 'text' => 'Console' ] ) ; $ content -> body ( view ( $ view , $ vars ) ) ; } ) ; }
Redis console interface.

@param Request $request

@return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
Redis console interface .