public static function create(Traversable $from, Traversable $to) {
        $diff = new self();
        
        foreach ($to as $triple) {
            $diff->add($triple);
        }
        
        
        foreach ($from as $triple) {
            $diff->remove($triple);
        }
        return $diff;
    }
public static function create(Traversable $from, Traversable $to) {
        $diff = new self();
        
        foreach ($to as $triple) {
            $diff->add($triple);
        }
        
        
        foreach ($from as $triple) {
            $diff->remove($triple);
        }
        return $diff;
    }
public static function create ( Traversable $ from , Traversable $ to ) { $ diff = new self ( ) ; foreach ( $ to as $ triple ) { $ diff -> add ( $ triple ) ; } foreach ( $ from as $ triple ) { $ diff -> remove ( $ triple ) ; } return $ diff ; }
Creates a diff from a set of triples to a set of troples


@param Traversable $from
@param Traversable $to
Creates a diff from a set of triples to a set of troples