LazyLoadingMock   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GeneratedHydratorTestAsset;
6
7
/**
8
 * Base test class to catch instantiations of lazy loading objects
9
 */
10
class LazyLoadingMock
11
{
12
    /** @var mixed */
13
    public $initializer;
14
15
    /**
16
     * @param mixed $initializer
17
     */
18
    public function __construct($initializer)
19
    {
20
        $this->initializer = $initializer;
21
    }
22
}
23