Completed
Push — master ( 1021f1...c49cbc )
by Timur
02:36
created

UninstallServiceCommand::runnable()   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\Services\Commands;
4
5
class UninstallServiceCommand extends ServiceCommand
6
{
7
    /**
8
     * HTTP request method.
9
     *
10
     * @return string
11
     */
12
    public function requestMethod()
13
    {
14
        return 'DELETE';
15
    }
16
17
    /**
18
     * @{inheritdoc}
19
     */
20
    public function command()
21
    {
22
        return 'remove';
23
    }
24
25
    /**
26
     * @{inheritdoc}
27
     */
28
    public function runnable()
29
    {
30
        return $this->getService()->uninstallable();
31
    }
32
}
33