CAnaxSingleton::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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