Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class Tag |
||
11 | { |
||
12 | /** |
||
13 | * @Rest\Attribute(name="name", type="string") |
||
14 | */ |
||
15 | private $name; |
||
16 | |||
17 | /** |
||
18 | * Getter for name |
||
19 | * |
||
20 | * @return string |
||
21 | */ |
||
22 | public function getName() |
||
23 | { |
||
24 | return $this->name; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Setter for name |
||
29 | * |
||
30 | * @param string $name |
||
31 | * |
||
32 | * @return Tag |
||
33 | */ |
||
34 | public function setName($name) |
||
39 | } |
||
40 | } |
||
41 |