Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add src/MobileDetectInterface.php #931

Closed
wants to merge 1 commit into from

Conversation

tattali
Copy link

@tattali tattali commented Jul 8, 2023

No description provided.

@serbanghita serbanghita self-requested a review July 31, 2023 19:00
@serbanghita
Copy link
Owner

@tattali why is this needed?

@pquerner
Copy link

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.

@serbanghita
Copy link
Owner

@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 🗡️

@serbanghita
Copy link
Owner

I believe #936 is enough for extensibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants