public function index()
    {
        return Admin::content(function (Content $content) {
            $content->header('Redis manager');
            $content->description('Connections');
            $content->breadcrumb(['text' => 'Redis manager']);

            $connection = request('conn', 'default');

            $manager = $this->manager();

            $variables = [
                'conn'        => $connection,
                'info'        => $manager->getInformation(),
                'connections' => $manager->getConnections(),
                'keys'        => $manager->scan(
                    request('pattern', '*'),
                    request('count', 50)
                ),
            ];

            $content->body(view('laravel-admin-redis-manager::index', $variables));
        });
    }
public function index()
    {
        return Admin::content(function (Content $content) {
            $content->header('Redis manager');
            $content->description('Connections');
            $content->breadcrumb(['text' => 'Redis manager']);

            $connection = request('conn', 'default');

            $manager = $this->manager();

            $variables = [
                'conn'        => $connection,
                'info'        => $manager->getInformation(),
                'connections' => $manager->getConnections(),
                'keys'        => $manager->scan(
                    request('pattern', '*'),
                    request('count', 50)
                ),
            ];

            $content->body(view('laravel-admin-redis-manager::index', $variables));
        });
    }
public function index ( ) { return Admin :: content ( function ( Content $ content ) { $ content -> header ( 'Redis manager' ) ; $ content -> description ( 'Connections' ) ; $ content -> breadcrumb ( [ 'text' => 'Redis manager' ] ) ; $ connection = request ( 'conn' , 'default' ) ; $ manager = $ this -> manager ( ) ; $ variables = [ 'conn' => $ connection , 'info' => $ manager -> getInformation ( ) , 'connections' => $ manager -> getConnections ( ) , 'keys' => $ manager -> scan ( request ( 'pattern' , '*' ) , request ( 'count' , 50 ) ) , ] ; $ content -> body ( view ( 'laravel-admin-redis-manager::index' , $ variables ) ) ; } ) ; }
Index page.

@return Content
Index page .