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

Process   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getName() 0 3 1
execute() 0 1 ?
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