CallFrame::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 6
nc 1
nop 5
1
<?php
2
3
namespace tomzx\Profiler\Runtime;
4
5
class CallFrame
6
{
7
    /**
8
     * @var string
9
     */
10
    public $functionName;
11
    /**
12
     * @var string
13
     */
14
    public $scriptId;
15
    /**
16
     * @var string
17
     */
18
    public $url;
19
    /**
20
     * @var int
21
     */
22
    public $lineNumber;
23
    /**
24
     * @var int
25
     */
26
    public $columnNumber;
27
28
    public function __construct(string $functionName, string $scriptId, string $url, int $lineNumber, int $columnNumber)
29
    {
30
        $this->functionName = $functionName;
31
        $this->scriptId = $scriptId;
32
        $this->url = $url;
33
        $this->lineNumber = $lineNumber;
34
        $this->columnNumber = $columnNumber;
35
    }
36
}
37