Completed
Push — master ( 70ac5a...66ce1a )
by Tim
02:18
created

AbstractUpdate   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 29
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getDescription() 0 4 1
A getTitle() 0 4 1
A getIdentifier() 0 4 1
1
<?php
2
3
namespace HDNET\Calendarize\Updates;
4
5
use TYPO3\CMS\Install\Updates\UpgradeWizardInterface;
6
7
abstract class AbstractUpdate implements UpgradeWizardInterface
8
{
9
10
    /**
11
     * @var string
12
     */
13
    protected $description = '';
14
15
    /**
16
     * @var string
17
     */
18
    protected $title = '';
19
20
    public function getDescription(): string
21
    {
22
        return $this->description;
23
    }
24
25
    public function getTitle(): string
26
    {
27
        return $this->title;
28
    }
29
30
    public function getIdentifier(): string
31
    {
32
        return get_class($this);
33
    }
34
35
}
36