InvokableClassWithConstructor::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace FinalizerTestAsset\Finalizable;
4
5
/**
6
 * A class that can be made final and acts as an invokable, but also has a constructor
7
 */
8
class InvokableClassWithConstructor
9
{
10
    /**
11
     * Constructor.
12
     */
13
    public function __construct()
14
    {
15
    }
16
17
    /**
18
     * @return void
19
     */
20
    public function __invoke()
21
    {
22
    }
23
}
24