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\Auth\Events;
4
 
5
use Illuminate\Queue\SerializesModels;
6
 
7
class OtherDeviceLogout
8
{
9
    use SerializesModels;
10
 
11
    /**
12
     * The authentication guard name.
13
     *
14
     * @var string
15
     */
16
    public $guard;
17
 
18
    /**
19
     * The authenticated user.
20
     *
21
     * @var \Illuminate\Contracts\Auth\Authenticatable
22
     */
23
    public $user;
24
 
25
    /**
26
     * Create a new event instance.
27
     *
28
     * @param  string  $guard
29
     * @param  \Illuminate\Contracts\Auth\Authenticatable  $user
30
     * @return void
31
     */
32
    public function __construct($guard, $user)
33
    {
34
        $this->user = $user;
35
        $this->guard = $guard;
36
    }
37
}