PHP Class Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator

Author: Benjamin Eberlei ([email protected])
Inheritance: extends Symfony\Component\Validator\ConstraintValidator
ファイルを表示 Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Bridge\Doctrine\RegistryInterface $registry )
isValid ( object $entity, Constraint $constraint ) : boolean

Method Details

__construct() public method

public __construct ( Symfony\Bridge\Doctrine\RegistryInterface $registry )
$registry Symfony\Bridge\Doctrine\RegistryInterface

isValid() public method

public isValid ( object $entity, Constraint $constraint ) : boolean
$entity object
$constraint Symfony\Component\Validator\Constraint
return boolean