Example #1
0
 public function loadRoleToSession()
 {
     $arr = $this->getAll();
     //$_SESSION['listOfRoles'] = $arr;
     foreach ($arr as $role) {
         Registor::addRole($role);
     }
 }