Closed delassiter closed 8 years ago
Awesome! Looks pretty cool! I dare ask which bank, but you don't have to answer :)
Anyway, very cool change! If the tests work out, i see no reason not to merge!
There ya go! Thanks!
I doubt I'm allowed to say - but it goes against everything I stand for ;-) Thanks for the quick merge!
Again, thanks for the pull... It's been something i had in mind a while ago but just didn't get around to ;)
I need to extend the library with an engine, but I am not allowed to do so open source (bank rules). I therefore need a way to inject an engine.
I would have rather added a EngineInterface, and changed the inheritance. A Engine-Implementation does not need to be able to detect a bank, etc. But I opted for a small change instead.
The rules for each engine are now implemented inside of the specific engine class.