src/PHPDish/Bundle/AdminBundle/Controller/UserController.php
public function indexAction()
    {
        $this->breadcrumb->push('admin.user.index');
        $grid = $this->gridFactory->get(User::class);
        return $this->render('PHPDishAdminBundle:User:index.html.twig', [
            'grid' => $grid
        ]);
    }
public function indexAction()
    {
        $this->breadcrumb->push('admin.user.index');
        $grid = $this->gridFactory->get(User::class);
        return $this->render('PHPDishAdminBundle:User:index.html.twig', [
            'grid' => $grid
        ]);
    }
用户管理列表

@Route("/users", name="admin_user_index")