content = $content; $this->language = $language; $this->country = $country; $this->type = new NullBaseStringL11nType(); } /** * Get id * * @return int * * @since 1.0.0 */ public function getId() : int { return $this->id; } /** * Get language * * @return string * * @since 1.0.0 */ public function getLanguage() : string { return $this->language; } /** * Set language * * @param string $language Language * * @return void * * @since 1.0.0 */ public function setLanguage(string $language) : void { $this->language = $language; } /** * Get country * * @return string * * @since 1.0.0 */ public function getCountry() : string { return $this->country; } /** * Set country * * @param string $country Country * * @return void * * @since 1.0.0 */ public function setCountry(string $country) : void { $this->country = $country; } /** * {@inheritdoc} */ public function toArray() : array { return [ 'id' => $this->id, 'content' => $this->content, 'ref' => $this->ref, 'language' => $this->language, 'country' => $this->country, ]; } /** * {@inheritdoc} */ public function jsonSerialize() : mixed { return $this->toArray(); } }