setVersionColumnName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
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 = 191;
17
18
    /** @var string */
19
    private $executedAtColumnName = 'executed_at';
20
21
    /** @var string */
22
    private $executionTimeColumnName = 'execution_time';
23
24 105
    public function getTableName() : string
25
    {
26 105
        return $this->tableName;
27
    }
28
29 17
    public function setTableName(string $tableName) : void
30
    {
31 17
        $this->tableName = $tableName;
32 17
    }
33
34 101
    public function getVersionColumnName() : string
35
    {
36 101
        return $this->versionColumnName;
37
    }
38
39 13
    public function setVersionColumnName(string $versionColumnName) : void
40
    {
41 13
        $this->versionColumnName = $versionColumnName;
42 13
    }
43
44 101
    public function getVersionColumnLength() : int
45
    {
46 101
        return $this->versionColumnLength;
47
    }
48
49 13
    public function setVersionColumnLength(int $versionColumnLength) : void
50
    {
51 13
        $this->versionColumnLength = $versionColumnLength;
52 13
    }
53
54 101
    public function getExecutedAtColumnName() : string
55
    {
56 101
        return $this->executedAtColumnName;
57
    }
58
59 13
    public function setExecutedAtColumnName(string $executedAtColumnName) : void
60
    {
61 13
        $this->executedAtColumnName = $executedAtColumnName;
62 13
    }
63
64 101
    public function getExecutionTimeColumnName() : string
65
    {
66 101
        return $this->executionTimeColumnName;
67
    }
68
69 13
    public function setExecutionTimeColumnName(string $executionTimeColumnName) : void
70
    {
71 13
        $this->executionTimeColumnName = $executionTimeColumnName;
72 13
    }
73
}
74