Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
37 | class Licensee |
||
38 | { |
||
39 | /** |
||
40 | * @MongoDB\Id |
||
41 | */ |
||
42 | protected $id; |
||
43 | |||
44 | /** |
||
45 | * @MongoDB\Field(type="string") |
||
46 | */ |
||
47 | protected $name; |
||
48 | |||
49 | /** |
||
50 | * gets the mongodb id |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | 2 | public function getId() |
|
57 | } |
||
58 | |||
59 | /** |
||
60 | * sets the mongoDB id |
||
61 | * |
||
62 | * @param string $id |
||
63 | */ |
||
64 | 2 | public function setId($id) |
|
65 | { |
||
66 | 2 | $this->id = $id; |
|
67 | 2 | } |
|
68 | |||
69 | /** |
||
70 | * gets the name |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | 2 | public function getName() |
|
77 | } |
||
78 | |||
79 | /** |
||
80 | * sets the name |
||
81 | * |
||
82 | * @param string $name |
||
83 | */ |
||
84 | 2 | public function setName($name) |
|
89 |