Closed nitriques closed 11 years ago
I like this idea, but:
prepareGateway
, it makes a little more sense$gateway
variable need to be by reference to actually persist changes?integration
please?I did call it visitGateway
because it's the visitor pattern, but I really do not mind!
Does the $gateway variable need to be by reference to actually persist changes?
No, it work like that, but maybe we should pass it in ref, since it's an object.
I'll send a new PR in 5 minutes. Thanks.
I think the title says it all.
I have been modifying the RemoteDatasource class by hand for a couple of times now, so I figure that adding an empty function in the real code base should not be a deal breaker.