Completed
Push — develop ( 2d1cf9...0b88d2 )
by Abdelrahman
08:46
created

TestimonialDeleted::__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\Testimonials\Events;
6
7
use Illuminate\Queue\SerializesModels;
8
use Rinvex\Testimonials\Models\Testimonial;
9
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
10
11
class TestimonialDeleted 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 $testimonial;
16
17
    /**
18
     * Create a new event instance.
19
     *
20
     * @param \Rinvex\Testimonials\Models\Testimonial $testimonial
21
     */
22
    public function __construct(Testimonial $testimonial)
23
    {
24
        $this->testimonial = $testimonial;
25
    }
26
}
27