Completed
Push — master ( b3d468...1a1ba8 )
by John
02:05
created

HelloWorld   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getAsAssociativeArray() 0 5 1
1
<?php
2
namespace HelloWorld\Models;
3
4
use LunixREST\Response\ResponseData;
5
6
class HelloWorld implements ResponseData {
7
8
    protected $helloWorld = "HelloWorld";
9
10
    /**
11
     * @return array
12
     */
13
    public function getAsAssociativeArray(): array {
14
        return [
15
            "helloworld" => $this->helloWorld
16
        ];
17
    }
18
}
19