1 | <?php |
||
24 | class AuthenticationLockoutNotification extends Notification |
||
25 | { |
||
26 | /** |
||
27 | * The request instance. |
||
28 | * |
||
29 | * @var \Illuminate\Http\Request |
||
30 | */ |
||
31 | public $request; |
||
32 | |||
33 | /** |
||
34 | * Create a notification instance. |
||
35 | * |
||
36 | * @param \Illuminate\Http\Request $request |
||
37 | * |
||
38 | * @return void |
||
|
|||
39 | */ |
||
40 | public function __construct(Request $request) |
||
44 | |||
45 | /** |
||
46 | * Get the notification's channels. |
||
47 | * |
||
48 | * @param mixed $notifiable |
||
49 | * |
||
50 | * @return array|string |
||
51 | */ |
||
52 | public function via($notifiable) |
||
56 | |||
57 | /** |
||
58 | * Build the mail representation of the notification. |
||
59 | * |
||
60 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
61 | */ |
||
62 | public function toMail() |
||
73 | } |
||
74 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.