Open itavero opened 11 years ago
Do you have an opinion regarding this issue, @ruudk?
Why do you want to change it? What's the problem? :)
It's not really a problem. But in my opinion the logic used from the Browser class is minimal. Removing it and implementing the minimal code directly in the PaymentGateways removes some overhead, makes the libraries more decoupled and might even improve the performance (in terms of time and memory) by a very small fraction. :P
In other words: the current situation just doesn't feel quite right to me. ;)
Then change it ;)
But keep in mind backwards compatibility if possible.
I don't expect any BC breaks, cause the Browser object was never exposed. I'll try to change this next weekend. After that I think it's time for the first stable release. ;)
Great, Maybe you should contact Mollie to get this lib listed on their page :)
I have contacted them before and one of their developers did look at the library I believe, but I have not heard anything from them since then.
I think we don't need the
\Buzz\Browser
property in theAMNL\Mollie\Client
class. In my opinion it would be better if the Client class implements the needed logic for calling theBuzz\Client\ClientInterface
object.