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