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

Question about Request macro #11

Open
cstaleror opened this issue Nov 7, 2024 · 1 comment
Open

Question about Request macro #11

cstaleror opened this issue Nov 7, 2024 · 1 comment

Comments

@cstaleror
Copy link

What is this macro for? Because the device method is not defined in the $this context

getOs and getClient? Must I define it manually?

image

@k2so-dev
Copy link
Owner

k2so-dev commented Nov 7, 2024

deviceName macro is needed to display the device name in the laravel sanctum token table. device method is another macro in reefki/laravel-device-detector wrapper library. Information about "getOs" and "getClient" methods here https://github.com/matomo-org/device-detector . Unfortunately, some macros are not recognized by the IDE, I don't know how to help you with this.

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

No branches or pull requests

2 participants