Sample   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPing() 0 4 1
1
<?php
2
/**
3
 * User: jg
4
 * Date: 30/09/17
5
 * Time: 18:06
6
 */
7
8
namespace RestTemplate\Rest;
9
10
class Sample extends ServiceAbstractBase
11
{
12
    public function getPing()
13
    {
14
        $this->getResponse()->write([
15
            'result' => 'pong'
16
        ]);
17
    }
18
}
19