CustomCompleterEvent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Padawan\Domain\Event;
4
5
use Padawan\Domain\Completion\Context;
6
use Padawan\Domain\Project;
7
use Symfony\Component\EventDispatcher\Event;
8
9
class CustomCompleterEvent extends Event
10
{
11
    /** @var CompleterInterface */
12
    public $completer = null;
13
    /** @var Context */
14
    public $context;
15
    /** @var Project */
16
    public $project;
17
    public function __construct(Project $project, Context $context)
18
    {
19
        $this->context = $context;
20
        $this->project = $project;
21
    }
22
}
23