Completed
Branch master (c4a11b)
by Adrian Florin
10:27 queued 07:46
created

ExecutionResultTrait::getExecutionResult()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
namespace NeedleProject\Transaction;
3
4
/**
5
 * Trait ExecutionResultTrait
6
 *
7
 * @package NeedleProject\Transaction
8
 * @author  Adrian Tilita <[email protected]>
9
 */
10
trait ExecutionResultTrait
11
{
12
    /**
13
     * @var mixed
14
     */
15
    private $executionResult;
16
17
    /**
18
     * @param mixed $executionResult
19
     */
20 4
    public function setExecutionResult($executionResult)
21
    {
22 4
        $this->executionResult = $executionResult;
23 4
    }
24
25
    /**
26
     * @return mixed
27
     */
28 1
    public function getExecutionResult()
29
    {
30 1
        return $this->executionResult;
31
    }
32
}
33