PHP Class Sylius\Bundle\CoreBundle\Validator\Constraints\HasAllPricesDefinedValidator

Author: Mateusz Zalewski ([email protected])
Inheritance: extends Symfony\Component\Validator\ConstraintValidator
Show file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository )
validate ( $productVariant, Constraint $constraint )

Method Details

__construct() public method

public __construct ( Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository )
$channelRepository Sylius\Component\Channel\Repository\ChannelRepositoryInterface

validate() public method

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