mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Pull out more members to header
This commit is contained in:
parent
6bf025ea81
commit
6280c04ffc
|
|
@ -29,15 +29,6 @@ use phpOMS\Utils\ArrayUtils;
|
|||
*/
|
||||
abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
|
||||
{
|
||||
|
||||
/**
|
||||
* Localization.
|
||||
*
|
||||
* @var Localization
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $l11n = null;
|
||||
|
||||
/**
|
||||
* Responses.
|
||||
*
|
||||
|
|
@ -46,14 +37,6 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
|
|||
*/
|
||||
protected $response = [];
|
||||
|
||||
/**
|
||||
* Account.
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $account = 0;
|
||||
|
||||
/**
|
||||
* Header.
|
||||
*
|
||||
|
|
@ -62,14 +45,6 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
|
|||
*/
|
||||
protected $header = null;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getL11n() : Localization
|
||||
{
|
||||
return $this->l11n;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get response by ID.
|
||||
*
|
||||
|
|
@ -100,22 +75,6 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
|
|||
$this->response = ArrayUtils::setArray((string) $key, $this->response, $response, ':', $overwrite);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getAccount() : int
|
||||
{
|
||||
return $this->account;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setAccount(int $account) /* : void */
|
||||
{
|
||||
$this->account = $account;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user