InvokableClassWithConstructor   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 16
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A __invoke() 0 3 1
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