changed from content to panel

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-02-22 14:06:07 +01:00
parent 440aea8d61
commit 1369cab7fb

View File

@ -14,9 +14,25 @@ class Domain
/**
*/
public function __construct(private string $name, private int $id = 0, private string $content = '')
public function __construct(private string $name, private String $panel, private int $id = 0)
{}
/**
* @return String
*/
public function getPanel(): string
{
return $this->panel;
}
/**
* @param String $panel
*/
public function setPanel(string $panel): void
{
$this->panel = $panel;
}
/**
* @return String
@ -51,21 +67,4 @@ class Domain
$this->id = $id;
}
/**
* @return string
*/
public function getContent(): string
{
return $this->content;
}
/**
* @param string $content
*/
public function setContent(string $content): void
{
$this->content = $content;
}
}