public function execute() { if ($this->_serviceProvider->skipDenormalization) { return; } $normalizer = new EngineBlock_Attributes_Normalizer($this->_responseAttributes); $this->_responseAttributes = $normalizer->denormalize(); }
protected function _denormalize(array $input, array $definition) { $this->_messageRecorder = new EngineBlock_Test_Attributes_MessageRecorder(); $normalizer = new EngineBlock_Attributes_Normalizer($input); $normalizer->setLogger($this->_messageRecorder); $normalizer->setDefinition($definition); return $normalizer->denormalize(); }