Cli::initiate()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 1

Importance

Changes 3
Bugs 1 Features 1
Metric Value
c 3
b 1
f 1
dl 0
loc 8
ccs 6
cts 6
cp 1
rs 9.4286
cc 1
eloc 5
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Ndrx\Profiler\Context;
4
5
use Ndrx\Profiler\Process;
6
7
/**
8
 * Created by PhpStorm.
9
 * User: arnaud
10
 * Date: 01/11/15
11
 * Time: 16:38
12
 */
13
class Cli extends Context
14
{
15 122
    public function initiate()
16
    {
17 122
        parent::initiate();
18
19 122
        $this->process = Process::build();
20 122
        $this->process->setContext($this);
21 122
        $this->sendDebugIds();
22 122
    }
23
24 122
    public function sendDebugIds()
25
    {
26 122
    }
27
}
28