public function toArray() { return array_merge(parent::toArray(), array('title' => $this->getTitle(), 'body' => $this->getBody())); }
/** * Create Quote Post array * * @return array */ public function toArray() { return array_merge(parent::toArray(), array('quote' => $this->getQuote(), 'source' => $this->getSource())); }
/** * Create Link Post data array * * @return array */ public function toArray() { return array_merge(parent::toArray(), array('name' => $this->getName(), 'url' => $this->getLinkUrl(), 'description' => $this->getDescription())); }