code: public function getRolesString(): string
      {
          $rolesString = "";
          foreach ($this->roleNames as $role) {
              $rolesString .= "$role, ";
          }
          return Functions::removeLastCharsFromString($rolesString, 2);
      }
docs: returns string of assigned roles ie role1, role2, ...