config = $config; } /** * @return Language */ public function getNullObject() { return new self($this->config); } /** * @return array */ public function getLinkedShopPrimary() { $primary = []; if ($this->company && $this->shop_code) { $primary['company'] = $this->company; $primary['code'] = $this->shop_code; } return $primary; } /** * @return array */ public function getLinkedShopLanguagePrimary() { $primary = []; if ($this->company && $this->shop_code && $this->shop_language_code) { $primary['company'] = $this->company; $primary['shop_code'] = $this->shop_code; $primary['code'] = $this->shop_language_code; } return $primary; } }