Untitled
raw download clone
TEXT
views 55
,
size 319 b
/**
     * @Route("/admin/user", name="admin_user")
     */
    public function index()
    {
        $users = $this->getDoctrine()
            ->getRepository(Users::class)
            ->findAll();
        return $this->render('admin/user/index.html.twig', [
            'users' => $users,
        ]);
    }
close fullscreen
Login or Register to edit or fork this paste. It's free.