public function getExported($exportName) { if ($this->hasExported($exportName)) { return $this->getBean($this->applicationContext->getExportedId($exportName)); } throw new IocException("Cannot find exported bean ({$exportName})"); }