25 private $synchronizer;
42 parent::__construct($context);
43 $this->context = $context;
44 $this->synchronizer = $synchronizer;
45 $this->jsonFactory = $jsonFactory;
66 $resultJson = $this->jsonFactory->create();
70 $typeId = $this->
getRequest()->getParam(
'type_id',
null);
72 }
catch (\Exception $e) {
73 $resultJson->setStatusHeader(
74 \
Zend\
Http\Response::STATUS_CODE_400,
75 \
Zend\
Http\AbstractMessage::VERSION_11,
80 return $resultJson->setData([]);
__construct(Context $context, Synchronizer $synchronizer, JsonFactory $jsonFactory)