Test Failed
Push — develop ( d3d02f...9481b3 )
by Brent
04:21
created

Process::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Pageon\Pcntl;
4
5
abstract class Process
6
{
7
    protected $name;
8
9
    public function __construct(string $name) {
10
        $this->name = $name;
11
    }
12
13
    public function getName() : string {
14
        return $this->name;
15
    }
16
17
    public abstract function execute();
0 ignored issues
show
Coding Style introduced by
The abstract declaration must precede the visibility declaration
Loading history...
18
}
19