/** * Retrieves Branch Id by Support Address and Customer Domain * * @param $supportAddress * @param $customerDomain * @return int|null */ public function getConfigurationBySupportAddressAndCustomerDomain($supportAddress, $customerDomain) { $branchId = $this->branchEmailConfigurationRepository->getBySupportAddressAndCustomerDomainCriteria($supportAddress, $customerDomain); return $branchId; }