Total Complexity | 1 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class Password |
||
11 | { |
||
12 | /** |
||
13 | * @JMS\Type("string") |
||
14 | * @JMS\XmlValue(cdata=false) |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | public $password; |
||
19 | |||
20 | /** |
||
21 | * @JMS\SerializedName("Type") |
||
22 | * @JMS\Type("string") |
||
23 | * @JMS\XmlAttribute() |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | public $typeUri; |
||
28 | |||
29 | /** |
||
30 | * Password constructor. |
||
31 | * |
||
32 | * @param string $password |
||
33 | * @param string|null $typeUri |
||
34 | */ |
||
35 | 12 | public function __construct(string $password, string $typeUri = null) |
|
41 |