Mutator   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 5
c 2
b 0
f 0
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Ipag\Sdk\Model\Schema;
4
5
use Closure;
6
7
/**
8
 * @codeCoverageIgnore
9
 */
10
final class Mutator
11
{
12
    public ?Closure $getter;
13
    public ?Closure $setter;
14
15
    public function __construct(?Closure $getter = null, ?Closure $setter = null)
16
    {
17
        $this->getter = $getter;
18
        $this->setter = $setter;
19
    }
20
}