/**
  * {@inheritdoc}
  */
 public function jsonSerialize()
 {
     $serialized = $this->decorated->jsonSerialize();
     return array_merge($serialized, $this->serializeAdditionalData());
 }
 /**
  * {@inheritdoc}
  */
 public function jsonSerialize()
 {
     return array_merge(parent::jsonSerialize(), array('tid' => $this->getTid(), 'action' => $this->getAction(), 'method' => $this->getMethod()));
 }
Example #3
0
 /**
  * {@inheritdoc}
  */
 public function jsonSerialize()
 {
     return array_merge(parent::jsonSerialize(), array('name' => $this->getName(), 'data' => $this->getData()));
 }