示例#1
0
 /**
  * Sets a list of group members
  *
  * If this principal is a group, this method sets all the group members.
  * The list of members is always overwritten, never appended to.
  *
  * This method should throw an exception if the members could not be set.
  *
  * @param array $groupMembers
  * @return void
  */
 public function setGroupMemberSet(array $groupMembers)
 {
     $this->principalBackend->setGroupMemberSet($this->principalProperties['uri'], $groupMembers);
 }
示例#2
0
 /**
  * Sets a list of group members
  *
  * If this principal is a group, this method sets all the group members.
  * The list of members is always overwritten, never appended to.
  *
  * This method should throw an exception if the members could not be set.
  *
  * @param array $principals
  * @return void
  */
 public function setGroupMemberSet(array $principals)
 {
     $this->principalBackend->setGroupMemberSet($this->getPrincipalUrl(), $principals);
 }