Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class Created |
||
11 | { |
||
12 | use Dispatchable, SerializesModels; |
||
|
|||
13 | |||
14 | /** |
||
15 | * Authenticable that cause Event. |
||
16 | * |
||
17 | * @var \Illuminate\Foundation\Auth\User |
||
18 | */ |
||
19 | public $auth; |
||
20 | |||
21 | /** |
||
22 | * Instance of new model. |
||
23 | * |
||
24 | * @var \Mrluke\Privileges\Models\Role |
||
25 | */ |
||
26 | public $model; |
||
27 | |||
28 | public function __construct(Role $model) |
||
34 |