added logger

This commit is contained in:
tracer 2022-09-17 16:29:23 +02:00
parent b77e7bf348
commit 9840fb50ff
1 changed files with 28 additions and 2 deletions

View File

@ -12,14 +12,40 @@ class Panel
private String $a;
private String $aaaa;
private String $apikey;
private int $self;
public function __construct(String $name, int $id = 0, String $a = '', String $aaaa = '', String $apikey = '')
/**
* @param String $name
* @param int $id
* @param String $a
* @param String $aaaa
* @param String $apikey
* @param int $self
*/
public function __construct(String $name, int $id = 0, String $a = '', String $aaaa = '', String $apikey = '', int $self = 0)
{
$this->id = $id;
$this->name = $name;
$this->a = $a;
$this->aaaa = $aaaa;
$this->apikey = $apikey;
$this->self = $self;
}
/**
* @return int
*/
public function getSelf(): int
{
return $this->self;
}
/**
* @param int $self
*/
public function setSelf(int $self): void
{
$this->self = $self;
}
@ -105,4 +131,4 @@ class Panel
$this->aaaa = $aaaa;
}
}
}