You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the "incoming"/"outgoing" idea isn't really necessary here. A transformation is a transformation. It shouldn't matter in which context it's being applied. Let something at a higher level decide when to apply a transformation (i.e. on incoming or outgoing data (who cares?))
I think what you want instead, is "reversible" or "undoable". So:
class OneWayTransform extends TransformationBase {
publicfunctiondoTransform() {}
}
class TwoWayTransform extends OneWayTransform implements ReversibleTransformationInterface {
publicfunctionundoTransform() {}
}
The text was updated successfully, but these errors were encountered:
I like this pattern. I'll give it a try. I fear that the documentation of the library will be a bit more complex without the self-explanatory method names.
I think the "incoming"/"outgoing" idea isn't really necessary here. A transformation is a transformation. It shouldn't matter in which context it's being applied. Let something at a higher level decide when to apply a transformation (i.e. on incoming or outgoing data (who cares?))
I think what you want instead, is "reversible" or "undoable". So:
The text was updated successfully, but these errors were encountered: