SettingWasCreated   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 27
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php namespace Modules\Setting\Events;
2
3
class SettingWasCreated
4
{
5
    /**
6
     * @var bool
7
     */
8
    public $isTranslatable;
9
    /**
10
     * @var string Setting name
11
     */
12
    public $name;
13
    /**
14
     * @var string|array
15
     */
16
    public $values;
17
18
    /**
19
     * @param $name
20
     * @param $isTranslatable
21
     * @param $values
22
     */
23
    public function __construct($name, $isTranslatable, $values)
24
    {
25
        $this->isTranslatable = $isTranslatable;
26
        $this->name = $name;
27
        $this->values = $values;
28
    }
29
}
30