Failed Conditions
Push — master ( 5e6761...398dce )
by Adrien
04:14 queued 01:57
created

HasInternalRemarks   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 27
rs 10
ccs 0
cts 7
cp 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 Ecodev\Felix\Model\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
    public function setInternalRemarks(string $internalRemarks): void
22
    {
23
        $this->internalRemarks = $internalRemarks;
24
    }
25
26
    /**
27
     * Get internalRemarks
28
     *
29
     * @return string
30
     */
31
    public function getInternalRemarks(): string
32
    {
33
        return $this->internalRemarks;
34
    }
35
}
36