LazyLoadingMock::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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