Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BicValidator.php

function BicValidator::bicAndIbanCountriesMatch

1 call to BicValidator::bicAndIbanCountriesMatch()
BicValidator::validate in vendor/symfony/validator/Constraints/BicValidator.php
Checks if the passed value is valid.

File

vendor/symfony/validator/Constraints/BicValidator.php, line 160

Class

BicValidator
@author Michael Hirschler <michael.vhirsch@gmail.com>

Namespace

Symfony\Component\Validator\Constraints

Code

private function bicAndIbanCountriesMatch(string $bicCountryCode, string $ibanCountryCode) : bool {
    return $ibanCountryCode === $bicCountryCode || $ibanCountryCode === (self::BIC_COUNTRY_TO_IBAN_COUNTRY_MAP[$bicCountryCode] ?? null);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal