AbstractTournamentDrawEvent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 16
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\Tournament;
4
5
use App\Events\Event;
6
use App\Tournament;
7
8
/**
9
 * Class AbstractTournamentDrawEvent
10
 * @package App\Events\Tournament
11
 */
12
abstract class AbstractTournamentDrawEvent extends Event
13
{
14
    /**
15
     * @var Tournament
16
     */
17
    public $tournament;
18
19
    /**
20
     * AbstractTournamentDrawEvent constructor.
21
     * @param Tournament $tournament
22
     */
23
    public function __construct(Tournament $tournament)
24
    {
25
        $this->tournament = $tournament;
26
    }
27
}
28