1 | <?php |
||
9 | abstract class Task extends Entity |
||
10 | { |
||
11 | /** |
||
12 | * @var string Name of the task |
||
13 | */ |
||
14 | protected $name; |
||
15 | |||
16 | /** |
||
17 | * Get task name |
||
18 | * |
||
19 | * @return string |
||
20 | */ |
||
21 | 5 | public function getName() |
|
25 | |||
26 | /** |
||
27 | * Returns the result message after task execution |
||
28 | * |
||
29 | * @return string Success message |
||
30 | */ |
||
31 | abstract public function getMessageSuccess(); |
||
32 | } |
||
33 |