Completed
Push — 2.1 ( 63ded9...b14dac )
by Paweł
23s queued 11s
created

TextStyle::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SWP\Bundle\CoreBundle\AppleNews\Document;
6
7
class TextStyle
8
{
9
    private $textColor;
10
11
    public function __construct(string $textColor)
12
    {
13
        $this->textColor = $textColor;
14
    }
15
16
    public function getTextColor(): string
17
    {
18
        return $this->textColor;
19
    }
20
}
21