Skip to content

Commit 61ac47b

Browse files
themsaidtaylorotwell
authored andcommitted
implement a getKey for AnonymousNotifiable (#20965)
1 parent ffc31d0 commit 61ac47b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Illuminate/Notifications/AnonymousNotifiable.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,14 @@ public function routeNotificationFor($driver)
4848
{
4949
return $this->routes[$driver] ?? null;
5050
}
51+
52+
/**
53+
* Get the value of the notifiable's primary key.
54+
*
55+
* @return mixed
56+
*/
57+
public function getKey()
58+
{
59+
//
60+
}
5161
}

0 commit comments

Comments
 (0)