Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
CommerceGuys
Addressing
Tests
Validator
Constraints
CountryConstraintValidatorTest
PHP Class CommerceGuys\Addressing\Tests\Validator\Constraints\CountryConstraintValidatorTest
Inheritance:
extends
Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest
Afficher le fichier
Open project: commerceguys/addressing
Protected Properties
Свойство
Type
Description
$constraint
CommerceGuys\Addressing\Validator\Constraints\CountryConstraint
Méthodes publiques
Méthode
Description
getValidCountries
( )
setUp
( )
testEmptyIsValid
( )
testInvalidCountry
( )
testInvalidValueType
( )
testValidCountries
(
$country
)
Méthodes protégées
Méthode
Description
createValidator
( )
Method Details
createValidator()
protected
méthode
protected
createValidator
( )
getValidCountries()
public
méthode
public
getValidCountries
( )
setUp()
public
méthode
public
setUp
( )
testEmptyIsValid()
public
méthode
public
testEmptyIsValid
( )
testInvalidCountry()
public
méthode
public
testInvalidCountry
( )
testInvalidValueType()
public
méthode
public
testInvalidValueType
( )
testValidCountries()
public
méthode
public
testValidCountries
(
$country
)
Property Details
$constraint
protected_oe property
protected
CountryConstraint,CommerceGuys\Addressing\Validator\Constraints
$constraint
Résultat
CommerceGuys\Addressing\Validator\Constraints\CountryConstraint