Pull out more members to header

This commit is contained in:
Dennis Eichhorn 2017-09-05 11:41:16 +02:00 committed by GitHub
parent 6bf025ea81
commit 6280c04ffc

View File

@ -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}
*/