Completed
Push — master ( ea3156...ec95d0 )
by Dmitry
03:39
created

Hello   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 5 1
1
<?php
2
3
namespace Job;
4
5
/**
6
 * Example job for greeting
7
 */
8
class Hello
9
{
10
    public $name = 'world';
11
12
    public function run()
13
    {
14
        $message = "hello $this->name!";
15
        return compact('message');
16
    }
17
}
18