Exemplo n.º 1
0
 public function jsonSerialize()
 {
     $data = parent::jsonSerialize();
     $data['title'] = $this->getTitle();
     $data['description'] = $this->getDescription();
     $data['url'] = $this->getUrl();
     $data['image'] = $this->getImage();
     return $data;
 }
Exemplo n.º 2
0
 public function jsonSerialize()
 {
     $data = parent::jsonSerialize();
     $data['isDisrupted'] = $this->isDisrupted();
     $data['title'] = $this->getTitle();
     $data['shortTitle'] = $this->getShortTitle();
     $data['descriptions'] = $this->getDescriptions();
     $data['updatedAtFormatted'] = $this->getUpdatedAtFormatted();
     return $data;
 }
Exemplo n.º 3
0
 public function jsonSerialize()
 {
     $data = parent::jsonSerialize();
     $data['name'] = $this->getName();
     $data['shortName'] = $this->getShortName();
     $data['urlKey'] = $this->getURLKey();
     $data['displayOrder'] = $this->getDisplayOrder();
     $data['isDisrupted'] = $this->isDisrupted();
     $data['statusSummary'] = $this->getStatusSummary();
     $data['latestStatus'] = $this->getLatestStatus();
     return $data;
 }
Exemplo n.º 4
0
 public function jsonSerialize()
 {
     $data = parent::jsonSerialize();
     $data['endpoint'] = $this->getEndpoint();
     $data['isActive'] = $this->isActive();
     $data['day'] = $this->getDay();
     $data['startHour'] = $this->getStartHour();
     $data['endHour'] = $this->getEndHour();
     $data['line'] = $this->getLine();
     return $data;
 }