Services::ping()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 2
crap 1
1
<?php
2
3
namespace Rs\VersionEye\Output;
4
5
use Symfony\Component\Console\Output\OutputInterface;
6
7
/**
8
 * Services.
9
 *
10
 * @author Robert Schönthal <[email protected]>
11
 */
12
class Services extends BaseOutput
13
{
14
    /**
15
     * output for the ping api.
16
     *
17
     * @param OutputInterface $output
18
     * @param array           $response
19
     */
20 2
    public function ping(OutputInterface $output, array $response)
21
    {
22 2
        $this->printMessage($output, $response);
23 2
    }
24
}
25