diff --git a/Message/HeaderAbstract.php b/Message/HeaderAbstract.php index 5320971d2..5be6ffe8c 100644 --- a/Message/HeaderAbstract.php +++ b/Message/HeaderAbstract.php @@ -34,6 +34,22 @@ abstract class HeaderAbstract */ protected static $isLocked = false; + /** + * Localization. + * + * @var Localization + * @since 1.0.0 + */ + protected $l11n = null; + + /** + * Account. + * + * @var int + * @since 1.0.0 + */ + protected $account = 0; + /** * Response status. * @@ -42,6 +58,39 @@ abstract class HeaderAbstract */ protected $status = 0; + /** + * {@inheritdoc} + */ + public function getL11n() : Localization + { + return $this->l11n; + } + + /** + * {@inheritdoc} + */ + public function setL11n(Localization $l11n) /* : void */ + { + $this->l11n = $l11n; + } + + /** + * {@inheritdoc} + */ + public function getAccount() : int + { + return $this->account; + } + + /** + * {@inheritdoc} + */ + public function setAccount(int $account) /* : void */ + { + $this->account = $account; + } + + /** * {@inheritdoc} * todo: shouldn't this only be available in the header?!