public function getData()
 {
     return ['id' => $this->id, 'createdDate' => $this->createdDate, 'project' => $this->project->getId(), 'language' => $this->targetLanguage->getData(), 'options' => $this->options, 'message' => $this->message];
 }
 public function getData()
 {
     return ['id' => $this->id, 'createdDate' => $this->createdDate, 'project' => $this->project->getId(), 'language' => $this->targetLanguage->getId(), 'language_data' => $this->targetLanguage->getData(), 'quality' => $this->quality, 'turnAroundTime' => $this->turnAroundTime, 'message' => $this->message];
 }
Beispiel #3
0
 public function getData()
 {
     return ['id' => $this->id, 'name' => $this->name, 'is_completed' => $this->is_completed, 'is_client_pool' => $this->is_client_pool, 'is_deleted' => $this->is_deleted, 'is_specialism_pool' => $this->is_specialism_pool, 'language' => $this->language->getData(), 'project' => $this->project->getId(), 'status' => $this->status, 'type' => $this->type, 'dueDate' => $this->dueDate, 'startDate' => $this->startDate, 'total' => $this->total, 'total_freelancer' => $this->total_freelancer, 'assignee' => $this->assignee ? $this->assignee->getData() : null, 'task_number' => $this->task_number, 'currency' => $this->currency];
 }
Beispiel #4
0
 public function getData()
 {
     return ['id' => $this->id, 'activityDate' => $this->activityDate, 'project' => $this->project->getId(), 'task' => $this->task ? $this->task->getData()['id'] : null, 'type' => $this->type, 'sender' => $this->sender ? $this->sender->getData() : null, 'message' => $this->message];
 }