Clear::process()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace DeGraciaMathieu\Clike\Tests;
4
5
use DeGraciaMathieu\Clike\Lines;
6
use DeGraciaMathieu\Clike\Contracts;
7
8
class Clear implements Contracts\Command {
9
10
    public function description() :string
11
    {
12
        return 'description';
13
    }
14
15
    public function authorized() :bool
16
    {
17
        return true;
18
    }
19
20
    public function binding() :string
21
    {
22
        return '/clear';
23
    }
24
25
    public function process()
26
    {
27
        //
28
    }
29
30
    public function output() :array
31
    {
32
        return [
33
            new Lines\Info('Output text...'),
34
        ];
35
    }
36
}