MatchWasFinished   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 19
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace App\Events;
4
5
use App\Match;
6
use Illuminate\Queue\SerializesModels;
7
8
/**
9
 * Class MatchWasFinished
10
 * @package App\Events
11
 */
12
class MatchWasFinished extends Event
13
{
14
    use SerializesModels;
15
16
    /**
17
     * @var Match
18
     */
19
    public $match;
20
21
    /**
22
     * Create a new event instance.
23
     * MatchWasFinished constructor.
24
     * @param Match $match
25
     */
26
    public function __construct(Match $match)
27
    {
28
        $this->match = $match;
29
    }
30
}
31