public function symmetricDifference(Value $set)
    {
        $returnValue = new Set(array());

        return $returnValue->union(
            $this->complement($set),
            $set->getSet()->complement($this)
        );
    }
public function symmetricDifference(Value $set)
    {
        $returnValue = new Set(array());

        return $returnValue->union(
            $this->complement($set),
            $set->getSet()->complement($this)
        );
    }
public function symmetricDifference ( Value $ set ) { $ returnValue = new Set ( array ( ) ) ; return $ returnValue -> union ( $ this -> complement ( $ set ) , $ set -> getSet ( ) -> complement ( $ this ) ) ; }
Set symmetric difference operator.

Returns a Set which is the symmetric difference of this Set with the
passed Set.

@param Value $set

@return Set
Set symmetric difference operator .