protected function processDefinition($countryCode, array $definition)
    {
        $definition['country_code'] = $countryCode;
        // Merge-in defaults.
        $definition += $this->getGenericDefinition();
        // Always require the given name and family name.
        $definition['required_fields'][] = AddressField::GIVEN_NAME;
        $definition['required_fields'][] = AddressField::FAMILY_NAME;

        return $definition;
    }
protected function processDefinition($countryCode, array $definition)
    {
        $definition['country_code'] = $countryCode;
        // Merge-in defaults.
        $definition += $this->getGenericDefinition();
        // Always require the given name and family name.
        $definition['required_fields'][] = AddressField::GIVEN_NAME;
        $definition['required_fields'][] = AddressField::FAMILY_NAME;

        return $definition;
    }
protected function processDefinition ( $ countryCode , array $ definition ) { $ definition [ 'country_code' ] = $ countryCode ; // Merge-in defaults. $ definition += $ this -> getGenericDefinition ( ) ; // Always require the given name and family name. $ definition [ 'required_fields' ] [ ] = AddressField :: GIVEN_NAME ; $ definition [ 'required_fields' ] [ ] = AddressField :: FAMILY_NAME ; return $ definition ; }
Processes the country's address format definition.

@param string $countryCode The country code.
@param array $definition   The definition.

@return array The processed definition.
Processes the country s address format definition .