/** * @param $locale * @return string */ public function getTitle($locale = null) { if ($locale === null) { $locale = $this->customerFamily->getLocale(); } $this->customerFamily->setLocale($locale); return $this->customerFamily->getTitle(); }