SettingWasCreated::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
rs 9.4286
c 1
b 0
f 0
cc 1
eloc 4
nc 1
nop 3
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