HelperWasRegistered   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 1
Metric Value
wmc 1
eloc 5
c 2
b 1
f 1
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * Contains the HelperWasRegistered class.
7
 *
8
 * @copyright   Copyright (c) 2017 Attila Fulop
9
 * @author      Attila Fulop
10
 * @license     MIT
11
 * @since       2017-09-15
12
 *
13
 */
14
15
namespace Konekt\Concord\Events;
16
17
class HelperWasRegistered
18
{
19
    /** @var  string */
20
    public $name;
21
22
    /** @var  string */
23
    public $className;
24
25
    public function __construct($name, $class)
26
    {
27
        $this->name = $name;
28
        $this->className = $class;
29
    }
30
}
31