| 1 | <?php | ||
| 5 | class Task | ||
| 6 | { | ||
| 7 | protected $description; | ||
| 8 | protected $progress; | ||
| 9 | protected $status; | ||
| 10 | |||
| 11 |     protected function __construct($description, $progress, $status) { | ||
| 16 | |||
| 17 |     static public function makeFromTaskJson($taskJson) { | ||
| 24 | |||
| 25 | /** | ||
| 26 | * @return mixed | ||
| 27 | */ | ||
| 28 |     public function getDescription() { | ||
| 31 | |||
| 32 | /** | ||
| 33 | * @return mixed | ||
| 34 | */ | ||
| 35 |     public function getProgress() { | ||
| 38 | |||
| 39 | /** | ||
| 40 | * @return mixed | ||
| 41 | */ | ||
| 42 |     public function getStatus() { | ||
| 45 | } |