Completed
Push — develop ( 058b0d...6c77d8 )
by Abdelrahman
09:36
created

TenantDeleted::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Rinvex\Tenants\Events;
6
7
use Rinvex\Tenants\Models\Tenant;
8
use Illuminate\Queue\SerializesModels;
9
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
10
11
class TenantDeleted implements ShouldBroadcast
0 ignored issues
show
Bug introduced by
There is one abstract method broadcastOn in this class; you could implement it, or declare this class as abstract.
Loading history...
12
{
13
    use SerializesModels;
14
15
    public $tenant;
16
17
    /**
18
     * Create a new event instance.
19
     *
20
     * @param \Rinvex\Tenants\Models\Tenant $tenant
21
     */
22
    public function __construct(Tenant $tenant)
23
    {
24
        $this->tenant = $tenant;
25
    }
26
}
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42