Example #1
0
 /**
  * @param string $organizationName
  *
  * @throws \Exception
  * @return mixed
  */
 private function findOrganization($organizationName)
 {
     static $OrgList;
     if (!$OrgList) {
         $OrgList = new OrganizationList(AGENCIES_LIST_URL);
     }
     return $OrgList->getTermFor($organizationName);
 }