PHP Class Sylius\Bundle\ProductBundle\Validator\UniqueSimpleProductCodeValidator

Author: Łukasz Chruściel ([email protected])
Inheritance: extends Symfony\Component\Validator\ConstraintValidator
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
__construct ( Sylius\Component\Product\Repository\ProductVariantRepositoryInterface $productVariantRepository )
validate ( $value, Constraint $constraint )

Method Details

__construct() public méthode

public __construct ( Sylius\Component\Product\Repository\ProductVariantRepositoryInterface $productVariantRepository )
$productVariantRepository Sylius\Component\Product\Repository\ProductVariantRepositoryInterface

validate() public méthode

public validate ( $value, Constraint $constraint )
$constraint Symfony\Component\Validator\Constraint