示例#1
0
 public function getIndex()
 {
     $ar = new AdminsRepository();
     $admins = $ar->getAll();
     return $this->twig->render('admin/admins/index.html', compact('admins'));
 }