DeletedByTrait::setDeletedBy()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace App\Traits;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
trait DeletedByTrait
8
{
9
    /**
10
     * @var string
11
     * @ORM\Column(type="string", nullable=true)
12
     */
13
    protected $deletedBy;
14
15 9
    public function getDeletedBy()
16
    {
17 9
        return $this->deletedBy;
18
    }
19
20
    public function setDeletedBy($deletedBy)
21
    {
22
        $this->deletedBy = $deletedBy;
23
    }
24
}
25