Event::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 3
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: thiago
5
 * Date: 01/04/18
6
 * Time: 16:35
7
 */
8
9
namespace MyWonderland\Domain\Model;
10
11
12
class Event
13
{
14
    /**
15
     * @var string
16
     */
17
    public $city;
18
19
    /**
20
     * @var string
21
     */
22
    public $country;
23
24
    /**
25
     * @var string
26
     */
27
    public $state;
28
29
    /**
30
     * Event constructor.
31
     * @param string $city
32
     * @param string $country
33
     * @param string $state
34
     */
35
    public function __construct($city, $country, $state)
36
    {
37
        $this->city = $city;
38
        $this->country = $country;
39
        $this->state = $state;
40
    }
41
}