PHP Class ApiPlatform\Core\Bridge\Symfony\Validator\Exception\ValidationException

Author: Kévin Dunglas ([email protected])
Inheritance: extends RuntimeException
Afficher le fichier Open project: api-platform/core

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Validator\ConstraintViolationListInterface $constraintViolationList, $message = '', $code, Exception $previous = null )
getConstraintViolationList ( ) : Symfony\Component\Validator\ConstraintViolationListInterface Gets constraint violations related to this exception.

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Validator\ConstraintViolationListInterface $constraintViolationList, $message = '', $code, Exception $previous = null )
$constraintViolationList Symfony\Component\Validator\ConstraintViolationListInterface
$previous Exception

getConstraintViolationList() public méthode

Gets constraint violations related to this exception.
public getConstraintViolationList ( ) : Symfony\Component\Validator\ConstraintViolationListInterface
Résultat Symfony\Component\Validator\ConstraintViolationListInterface