added logger
This commit is contained in:
parent
b77e7bf348
commit
9840fb50ff
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue