public function getName($languageCode) { if (array_key_exists($languageCode, $this->names)) { return $this->names[$languageCode]; } return null; }