public function getAssignedMembers()
    {
        $members = ArrayList::create($this->Users()->toArray());
        $groups  = $this->Groups();

        foreach ($groups as $group) {
            $members->merge($group->Members());
        }

        $members->removeDuplicates();
        return $members;
    }
public function getAssignedMembers()
    {
        $members = ArrayList::create($this->Users()->toArray());
        $groups  = $this->Groups();

        foreach ($groups as $group) {
            $members->merge($group->Members());
        }

        $members->removeDuplicates();
        return $members;
    }
public function getAssignedMembers ( ) { $ members = ArrayList :: create ( $ this -> Users ( ) -> toArray ( ) ) ; $ groups = $ this -> Groups ( ) ; foreach ( $ groups as $ group ) { $ members -> merge ( $ group -> Members ( ) ) ; } $ members -> removeDuplicates ( ) ; return $ members ; }
Returns a set of all Members that are assigned to this transition, either directly or via a group.

@return ArrayList
Returns a set of all Members that are assigned to this transition either directly or via a group .