public function __construct($messageTemplate, array $messageParameters, $root, $propertyPath, $invalidValue) { $this->messageTemplate = $messageTemplate; $this->messageParameters = $messageParameters; $this->root = $root; $this->propertyPath = $propertyPath; $this->invalidValue = $invalidValue; }
public function __construct($message, $path = '') { parent::__construct($message, $message, array(), null, $path, null); }