PHP Class Webiny\Component\Entity\EntityException

Inheritance: extends Webiny\Component\StdLib\Exception\AbstractException
Show file Open project: Webiny/Framework Class Usage Examples

Protected Properties

Property Type Description
$invalidAttributes
$messages

Public Methods

Method Description
getInvalidAttributes ( ) : array Get array of invalid attributes and validation exceptions Array structure:
setInvalidAttributes ( $attributes )

Method Details

getInvalidAttributes() public method

['attrName' => ValidationException]
public getInvalidAttributes ( ) : array
return array

setInvalidAttributes() public method

public setInvalidAttributes ( $attributes )

Property Details

$invalidAttributes protected property

protected $invalidAttributes

$messages protected static property

protected static $messages