Lines Matching refs:handler
31 protected $handler; variable in JMS\\Serializer\\Tests\\Handler\\FormErrorHandlerTest
50 $this->handler = new FormErrorHandler(new Translator('en'));
60 $this->handler = null;
69 $json = json_encode($this->handler->serializeFormToJson($this->visitor, $form, []));
76 $this->handler = new FormErrorHandler();
79 $json = json_encode($this->handler->serializeFormToJson($this->visitor, $form, []));
90 $json = json_encode($this->handler->serializeFormToJson($this->visitor, $form, []));
119 $data = json_encode($this->handler->serializeFormToJson($this->visitor, $form, []));
134 $json = json_encode($this->handler->serializeFormToJson($this->visitor, $form, []));
150 $handler = new FormErrorHandler($translator);
165 $this->invokeMethod($handler, 'getErrorMessage', [$formError]);
173 $handler = new FormErrorHandler($translator);
189 $this->invokeMethod($handler, 'getErrorMessage', [$formError]);
197 $handler = new FormErrorHandler($translator, 'custom_domain');
212 $this->invokeMethod($handler, 'getErrorMessage', [$formError]);
220 $handler = new FormErrorHandler($translator, 'custom_domain');
236 $this->invokeMethod($handler, 'getErrorMessage', [$formError]);