-
-
Notifications
You must be signed in to change notification settings - Fork 718
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
Feature/anonymous causer #605
Conversation
By calling `activity()->causedByAnonymous()->...` the activity will not be associated with a certain causer model
And the last thing: can you add it to the documentation? I would prefer it as a simple hint/sentence, like the default causer in https://docs.spatie.be/laravel-activitylog/v3/basic-usage/logging-activity/#setting-a-causer |
PR #607 |
fixes #567
Adressing the comments by @Gummibeer on previous PR #604 regarding issue #567
This PR adds a
causedByAnonymous()
method, which can be chained from theactivity()
helper, resolving thecauser_id
andcauser_type
tonull
.