SpotifyMe   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 28
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: thiago
5
 * Date: 31/03/18
6
 * Time: 21:56
7
 */
8
9
namespace MyWonderland\Domain\Model;
10
11
12
class SpotifyMe
13
{
14
    /**
15
     * @var string
16
     */
17
    public $country;
18
19
    /**
20
     * @var string
21
     */
22
    public $displayName;
23
24
    /**
25
     * @var string
26
     */
27
    public $spotify;
28
29
    /**
30
     * SpotifyMe constructor.
31
     * @param string $country
32
     * @param string $displayName
33
     * @param string $spotify
34
     */
35
    public function __construct($country, $displayName, $spotify)
36
    {
37
        $this->country = $country;
38
        $this->displayName = $displayName;
39
        $this->spotify = $spotify;
40
    }
41
42
}