ItemType::setName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace Perry\Representation\Eve\v1;
3
4
use \Perry\Representation\Reference as Reference;
5
use \Perry\Representation\Uri as Uri;
6
use \Perry\Representation\Base as Base;
7
8
class ItemType extends Base
9
{
10
    public $name;
11
12
    public $description;
13
14
    // by Warringer\Types\String
15
    public function setName($name)
16
    {
17
        $this->name = $name;
18
    }
19
20
    // by Warringer\Types\String
21
    public function setDescription($description)
22
    {
23
        $this->description = $description;
24
    }
25
26
}
27