code: public function setRoles(array $roles)
      {
          $this->roles = [];
  
          foreach ($roles as $item) {
              $this->addRole($item);
          }
  
          return $this;
      }
docs: Sets the "roles" of the Group.
  
  @param Role[] $roles
  
  @return Group