public function getLanguageCode() { return $this->language !== null ? $this->language->getCode() : null; }