mirror of
https://github.com/anikeen-com/yaac.git
synced 2026-03-13 13:46:10 +00:00
Aktualisieren von Account.php
This commit is contained in:
@@ -4,12 +4,6 @@ namespace Afosto\Acme\Data;
|
|||||||
|
|
||||||
class Account
|
class Account
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $contact;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
@@ -34,12 +28,10 @@ class Account
|
|||||||
* @param string $accountURL
|
* @param string $accountURL
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
array $contact,
|
|
||||||
\DateTime $createdAt,
|
\DateTime $createdAt,
|
||||||
bool $isValid,
|
bool $isValid,
|
||||||
string $accountURL
|
string $accountURL
|
||||||
) {
|
) {
|
||||||
$this->contact = $contact;
|
|
||||||
$this->createdAt = $createdAt;
|
$this->createdAt = $createdAt;
|
||||||
$this->isValid = $isValid;
|
$this->isValid = $isValid;
|
||||||
$this->accountURL = $accountURL;
|
$this->accountURL = $accountURL;
|
||||||
@@ -72,15 +64,6 @@ class Account
|
|||||||
return $this->accountURL;
|
return $this->accountURL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Return contact data
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function getContact(): array
|
|
||||||
{
|
|
||||||
return $this->contact;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns validation status
|
* Returns validation status
|
||||||
* @return bool
|
* @return bool
|
||||||
|
|||||||
Reference in New Issue
Block a user