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\Messages;
4
 
5
use Illuminate\Bus\Queueable;
6
 
7
class BroadcastMessage
8
{
9
    use Queueable;
10
 
11
    /**
12
     * The data for the notification.
13
     *
14
     * @var array
15
     */
16
    public $data;
17
 
18
    /**
19
     * Create a new message instance.
20
     *
21
     * @param  array  $data
22
     * @return void
23
     */
24
    public function __construct(array $data)
25
    {
26
        $this->data = $data;
27
    }
28
 
29
    /**
30
     * Set the message data.
31
     *
32
     * @param  array  $data
33
     * @return $this
34
     */
35
    public function data($data)
36
    {
37
        $this->data = $data;
38
 
39
        return $this;
40
    }
41
}