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

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

Public Methods

Method 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 method

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

getConstraintViolationList() public method

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