Home
last modified time | relevance | path

Searched refs:formError (Results 1 – 2 of 2) sorted by relevance

/plugin/findologicxmlexport/vendor/jms/serializer/tests/Handler/
H A DFormErrorHandlerTest.php161 $formError->expects($this->once())->method('getMessageTemplate')->willReturn('error!');
163 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]);
165 $this->invokeMethod($handler, 'getErrorMessage', [$formError]);
185 $formError->expects($this->once())->method('getMessageTemplate')->willReturn('error!');
187 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]);
189 $this->invokeMethod($handler, 'getErrorMessage', [$formError]);
208 $formError->expects($this->once())->method('getMessageTemplate')->willReturn('error!');
210 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]);
212 $this->invokeMethod($handler, 'getErrorMessage', [$formError]);
234 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]);
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/src/Handler/
H A DFormErrorHandler.php94 …public function serializeFormErrorToXml(XmlSerializationVisitor $visitor, FormError $formError, ar… argument
96 return $visitor->getDocument()->createCDATASection($this->getErrorMessage($formError));
102 … serializeFormErrorToJson(JsonSerializationVisitor $visitor, FormError $formError, array $type): s… argument
104 return $this->getErrorMessage($formError);