Passed
Push — master ( 229462...d74785 )
by Andreas
02:20 queued 14s
created

getExecutionTimeColumnName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 1
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Migrations\Metadata\Storage;
6
7
final class TableMetadataStorageConfiguration implements MetadataStorageConfiguration
8
{
9
    /** @var string */
10
    private $tableName = 'doctrine_migration_versions';
11
12
    /** @var string */
13
    private $versionColumnName = 'version';
14
15
    /** @var int */
16
    private $versionColumnLength = 1024;
17
18
    /** @var string */
19
    private $executedAtColumnName = 'executed_at';
20
21
    /** @var string */
22
    private $executionTimeColumnName = 'execution_time';
23
24 67
    public function getTableName() : string
25
    {
26 67
        return $this->tableName;
27
    }
28
29 13
    public function setTableName(string $tableName) : void
30
    {
31 13
        $this->tableName = $tableName;
32 13
    }
33
34 64
    public function getVersionColumnName() : string
35
    {
36 64
        return $this->versionColumnName;
37
    }
38
39 10
    public function setVersionColumnName(string $versionColumnName) : void
40
    {
41 10
        $this->versionColumnName = $versionColumnName;
42 10
    }
43
44 64
    public function getVersionColumnLength() : int
45
    {
46 64
        return $this->versionColumnLength;
47
    }
48
49 10
    public function setVersionColumnLength(int $versionColumnLength) : void
50
    {
51 10
        $this->versionColumnLength = $versionColumnLength;
52 10
    }
53
54 64
    public function getExecutedAtColumnName() : string
55
    {
56 64
        return $this->executedAtColumnName;
57
    }
58
59 10
    public function setExecutedAtColumnName(string $executedAtColumnName) : void
60
    {
61 10
        $this->executedAtColumnName = $executedAtColumnName;
62 10
    }
63
64 64
    public function getExecutionTimeColumnName() : string
65
    {
66 64
        return $this->executionTimeColumnName;
67
    }
68
69 10
    public function setExecutionTimeColumnName(string $executionTimeColumnName) : void
70
    {
71 10
        $this->executionTimeColumnName = $executionTimeColumnName;
72 10
    }
73
}
74