Completed
Pull Request — master (#3626)
by Dallas
61:03
created

Expression   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 2
eloc 4
c 1
b 1
f 0
dl 0
loc 13
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A __toString() 0 3 1
1
<?php
2
3
namespace Doctrine\DBAL\Schema;
4
5
final class Expression
6
{
7
    /** @var string $value */
8
    private $value;
9
10
    public function __construct(string $value)
11
    {
12
        $this->value = $value;
13
    }
14
15
    public function __toString()
16
    {
17
        return $this->value;
18
    }
19
}
20