PHP Class Sulu\Bundle\TagBundle\Controller\Exception\ConstraintViolationException

Inheritance: extends Sulu\Component\Rest\Exception\RestException
Show file Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$field string The field of the tag which is not unique.

Public Methods

Method Description
__construct ( string $message, string $field, integer $code )
toArray ( )

Method Details

__construct() public method

public __construct ( string $message, string $field, integer $code )
$message string The error message
$field string The field which is not
$code integer

toArray() public method

public toArray ( )

Property Details

$field protected property

The field of the tag which is not unique.
protected string $field
return string