Skip to content

Would like a phone() method #51

@instadrew

Description

@instadrew

I have started using HTTP::BrowserDetect and have noticed that it currently has the methods mobile(), tablet(), and robot(), but not phone(). I'm wondering if there are any plans to add such a method. Right now, I'm just doing:

return ($browser->mobile && ! $browser->tablet && ! $browser->robot) ? 1 : 0;

but a provided method would be great, if that's possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions