added password property
This commit is contained in:
parent
cce30b17ad
commit
b77e7bf348
|
@ -11,10 +11,26 @@ class DynDNS
|
|||
|
||||
/**
|
||||
*/
|
||||
public function __construct(private string $name, private string $a, private string $aaaa, private int $id = 0)
|
||||
public function __construct(private string $name, private string $a, private string $aaaa, private $password = '', private int $id = 0)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPassword(): string
|
||||
{
|
||||
return $this->password;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $password
|
||||
*/
|
||||
public function setPassword(string $password): void
|
||||
{
|
||||
$this->password = $password;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return String
|
||||
*/
|
||||
|
@ -79,4 +95,4 @@ class DynDNS
|
|||
$this->name = $name;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue