We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aacb96 commit a9e2532Copy full SHA for a9e2532
README.md
@@ -80,6 +80,7 @@ You can chain methods to the `visit` method. Here are a list of the available me
80
| METHOD | SYNTAX | DESCRIPTION | EXAMPLE |
81
| ----------- | ----------- | ----------- | ----------- |
82
| `withIp()` | string `$ip = null` | Set an Ip address (default `request()->ip()`) | `$post->visit()->withIp()` |
83
+| `withSession()` | string `$session = null` | Set an Session ID (default `session()->getId()`) | `$post->visit()->withSession()` |
84
|`withData()` | array `$data` | Set custom data | `$post->visit()->withData(['region' => 'USA'])` |
85
| `withUser()` | Model `$user = null` | Set a user model (default `auth()->user()`) | `$user->visit()->withUser()` |
86
0 commit comments