Skip to content

Check is user model lacks of impersonate methods#229

Open
erikn69 wants to merge 1 commit into
404labfr:masterfrom
erikn69:patch-4
Open

Check is user model lacks of impersonate methods#229
erikn69 wants to merge 1 commit into
404labfr:masterfrom
erikn69:patch-4

Conversation

@erikn69
Copy link
Copy Markdown
Contributor

@erikn69 erikn69 commented Sep 25, 2025

If the model does not use the Lab404\Impersonate\Models\Impersonate trait, it throws "method not exists exception", there is no specific exception for this purpose, so it should return false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant