Completed
Push — master ( e97c13...1021f1 )
by Timur
02:50
created

ListWorkersCommand::listResponseItemsKey()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Laravel\Forge\Sites\Commands\Workers;
4
5
class ListWorkersCommand extends WorkerCommand
6
{
7
    /**
8
     * Items key for List response.
9
     *
10
     * @return string
11
     */
12
    public function listResponseItemsKey()
13
    {
14
        return 'workers';
15
    }
16
17
    /**
18
     * HTTP request method.
19
     *
20
     * @return string
21
     */
22
    public function requestMethod()
23
    {
24
        return 'GET';
25
    }
26
}
27