Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Notifications\Events;
4
 
5
use Illuminate\Bus\Queueable;
6
use Illuminate\Queue\SerializesModels;
7
 
8
class NotificationSent
9
{
10
    use Queueable, SerializesModels;
11
 
12
    /**
13
     * The notifiable entity who received the notification.
14
     *
15
     * @var mixed
16
     */
17
    public $notifiable;
18
 
19
    /**
20
     * The notification instance.
21
     *
22
     * @var \Illuminate\Notifications\Notification
23
     */
24
    public $notification;
25
 
26
    /**
27
     * The channel name.
28
     *
29
     * @var string
30
     */
31
    public $channel;
32
 
33
    /**
34
     * The channel's response.
35
     *
36
     * @var mixed
37
     */
38
    public $response;
39
 
40
    /**
41
     * Create a new event instance.
42
     *
43
     * @param  mixed  $notifiable
44
     * @param  \Illuminate\Notifications\Notification  $notification
45
     * @param  string  $channel
46
     * @param  mixed  $response
47
     * @return void
48
     */
49
    public function __construct($notifiable, $notification, $channel, $response = null)
50
    {
51
        $this->channel = $channel;
52
        $this->response = $response;
53
        $this->notifiable = $notifiable;
54
        $this->notification = $notification;
55
    }
56
}