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