Completed
Push — master ( a3d745...cdb5f9 )
by Adrien
10:34
created

HasInternalRemarks   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 27
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setInternalRemarks() 0 3 1
A getInternalRemarks() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Application\Traits;
6
7
trait HasInternalRemarks
8
{
9
    /**
10
     * @var string
11
     *
12
     * @ORM\Column(type="text", length=65535)
13
     */
14
    private $internalRemarks = '';
15
16
    /**
17
     * Set internalRemarks
18
     *
19
     * @param string $internalRemarks
20
     */
21 8
    public function setInternalRemarks(string $internalRemarks): void
22
    {
23 8
        $this->internalRemarks = $internalRemarks;
24 8
    }
25
26
    /**
27
     * Get internalRemarks
28
     *
29
     * @return string
30
     */
31 2
    public function getInternalRemarks(): string
32
    {
33 2
        return $this->internalRemarks;
34
    }
35
}
36