CAnaxSingleton   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 15
rs 10
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * Anax base class for wrapping sessions.
4
 */
5
6
namespace Anax\Kernel;
7
8
class CAnaxSingleton extends CAnax implements \Anax\ISingleton
9
{
10
    use \Anax\TSingleton;
11
12
13
14
    /**
15
     * Construct.
16
     *
17
     */
18
    protected function __construct()
19
    {
20
        parent::__construct();
0 ignored issues
show
Bug introduced by
The call to CAnax::__construct() misses a required argument $di.

This check looks for function calls that miss required arguments.

Loading history...
21
    }
22
}
23