public function getRoles(): array
{
$roles = $this->roles ?? [];
// guarantee every user at least has ROLE_OPERATOR
$roles[] = 'ROLE_OPERATOR';
return array_unique($roles);
}
0: "ROLE_ADMIN"
1: "ROLE_OPERATOR"