Updated PhpDoc
This commit is contained in:
parent
a826f4f3a9
commit
71d921def5
1 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,14 @@
|
||||||
private string $value;
|
private string $value;
|
||||||
private PrivacyState $privacyState;
|
private PrivacyState $privacyState;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor method.
|
||||||
|
*
|
||||||
|
* @param array $data An associative array containing the keys:
|
||||||
|
* - 'name': The name of the information field.
|
||||||
|
* - 'value': The value of the information field.
|
||||||
|
* - 'privacy_state': The privacy state of the information field.
|
||||||
|
*/
|
||||||
public function __construct(array $data)
|
public function __construct(array $data)
|
||||||
{
|
{
|
||||||
$this->name = InformationFieldName::from($data['name']);
|
$this->name = InformationFieldName::from($data['name']);
|
||||||
|
|
Loading…
Add table
Reference in a new issue