Task::getMessageSuccess()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
ccs 0
cts 0
cp 0
nc 1
1
<?php
2
namespace AppBundle\Sync\Entity;
3
4
/**
5
 * Abstract class for task implementation
6
 *
7
 * @author Sergey Sadovoi <[email protected]>
8
 */
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()
22
    {
23 5
        return $this->name;
24
    }
25
26
    /**
27
     * Returns the result message after task execution
28
     *
29
     * @return string  Success message
30
     */
31
    abstract public function getMessageSuccess();
32
}
33