Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
CommerceGuys
Addressing
Tests
Validator
Constraints
AddressFormatConstraintValidatorTest
createValidator
CommerceGuys\Addressing\Tests\Validator\Constraints\AddressFormatConstraintValidatorTest::createValidator PHP Method
AddressFormatConstraintValidatorTest Class Documentation
Show file
Open project: commerceguys/addressing
createValidator()
protected
method
protected
createValidator
( )
protected function createValidator() { return new AddressFormatConstraintValidator(); }
AddressFormatConstraintValidatorTest
createValidator
setUp
testAndorraNotOK
testAndorraOK
testCanadaMixedCasePostcode
testCanadaUnusedFields
testChinaOK
testChinaPostalCodeBadFormat
testChinaTaiwanOk
testChinaTaiwanUnknownDistrict
testConstraintFields
testEmptyIsValid
testEmptyPostalCodeReportedAsGoodFormat
testGermanAddress
testInvalidValueType
testIrishAddress
testJapan
testStreetVerification
testUnitedStatesNotOK
testUnitedStatesOK
testUnitedStatesSubdivisionPostcodePattern