Artist   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 27
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: 01/04/18
6
 * Time: 12:02
7
 */
8
9
namespace MyWonderland\Domain\Model;
10
11
12
class Artist
13
{
14
    /**
15
     * @var string
16
     */
17
    public $name;
18
19
    /**
20
     * @var string
21
     */
22
    public $avatar;
23
24
    /**
25
     * @var string
26
     */
27
    public $songkickId;
28
29
    /**
30
     * Artist constructor.
31
     * @param $name
32
     * @param string $avatar
33
     */
34
    public function __construct($name, $avatar)
35
    {
36
        $this->name = $name;
37
        $this->avatar = $avatar;
38
        $this->songkickId = null;
39
    }
40
}