Closed tattali closed 1 year ago
I like having an interface, however this late into "production" this may break many projects extending this class. Its not a major break and doesnt give much headache, but it is one nonetheless.
For this reason I would maybe use it in a 4.x branch.
@pquerner I don't see the practical reason for an interface unless you want to swap implementation or something like that.
I'm not sure if this project will live to see 4.x if Google succeeds with the user-agent reduction initiative 🗡️
I believe https://github.com/serbanghita/Mobile-Detect/pull/936 is enough for extensibility
@tattali why is this needed?