protected function isBankInfosSynchronised(
        VendorInterface $vendor,
        BankInfo $miraklBankInfo
    ) {
        $hipayBankInfo = $this->getBankInfo($vendor);
        $event = new CheckBankInfos($miraklBankInfo, $hipayBankInfo);
        $ibanCheck = ($hipayBankInfo->getIban() == $miraklBankInfo->getIban());
        $this->dispatcher->dispatch('check.bankInfos.synchronicity', $event);
        return $ibanCheck && $event->isSynchrony();
    }
protected function isBankInfosSynchronised(
        VendorInterface $vendor,
        BankInfo $miraklBankInfo
    ) {
        $hipayBankInfo = $this->getBankInfo($vendor);
        $event = new CheckBankInfos($miraklBankInfo, $hipayBankInfo);
        $ibanCheck = ($hipayBankInfo->getIban() == $miraklBankInfo->getIban());
        $this->dispatcher->dispatch('check.bankInfos.synchronicity', $event);
        return $ibanCheck && $event->isSynchrony();
    }
protected function isBankInfosSynchronised ( VendorInterface $ vendor , BankInfo $ miraklBankInfo ) { $ hipayBankInfo = $ this -> getBankInfo ( $ vendor ) ; $ event = new CheckBankInfos ( $ miraklBankInfo , $ hipayBankInfo ) ; $ ibanCheck = ( $ hipayBankInfo -> getIban ( ) == $ miraklBankInfo -> getIban ( ) ) ; $ this -> dispatcher -> dispatch ( 'check.bankInfos.synchronicity' , $ event ) ; return $ ibanCheck && $ event -> isSynchrony ( ) ; }
Check that the bank information is the same in the two services.

@param VendorInterface $vendor
@param BankInfo $miraklBankInfo

@return bool
Check that the bank information is the same in the two services .