/** * Every bank has one main agency. This agency is not included in getAgencies(). * * @throws DataBackendException * @return Agency */ public function getMainAgency() { if (is_null($this->mainAgency)) { $this->mainAgency = $this->dataBackend->getMainAgency($this); } return $this->mainAgency; }