mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 14:38:39 +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
|
abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
|
||||||
* Localization.
|
|
||||||
*
|
|
||||||
* @var Localization
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
protected $l11n = null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Responses.
|
* Responses.
|
||||||
*
|
*
|
||||||
|
|
@ -46,14 +37,6 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
|
||||||
*/
|
*/
|
||||||
protected $response = [];
|
protected $response = [];
|
||||||
|
|
||||||
/**
|
|
||||||
* Account.
|
|
||||||
*
|
|
||||||
* @var int
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
protected $account = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Header.
|
* Header.
|
||||||
*
|
*
|
||||||
|
|
@ -62,14 +45,6 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
|
||||||
*/
|
*/
|
||||||
protected $header = null;
|
protected $header = null;
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritdoc}
|
|
||||||
*/
|
|
||||||
public function getL11n() : Localization
|
|
||||||
{
|
|
||||||
return $this->l11n;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get response by ID.
|
* Get response by ID.
|
||||||
*
|
*
|
||||||
|
|
@ -100,22 +75,6 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable
|
||||||
$this->response = ArrayUtils::setArray((string) $key, $this->response, $response, ':', $overwrite);
|
$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}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user