Passed
Push — master ( 9b2fbd...f8145f )
by Jesse
02:29
created

OriginalValue   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A value() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Stratadox\Hydration\Mapping\Property\Scalar;
5
6
/**
7
 * Maps the value directly onto an object property.
8
 *
9
 * @package Stratadox\Hydrate
10
 * @author  Stratadox
11
 */
12
final class OriginalValue extends Scalar
13
{
14
    /** @inheritdoc */
15
    public function value(array $data, $owner = null)
16
    {
17
        return $this->my($data);
18
    }
19
}
20