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

EnableDeploymentCommand::siteResourcePath()   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\Deployment;
4
5
use Laravel\Forge\Sites\Commands\SiteResourceCommand;
6
7
class EnableDeploymentCommand extends SiteResourceCommand
8
{
9
    /**
10
     * Site resource path.
11
     *
12
     * @return string
13
     */
14
    public function siteResourcePath()
15
    {
16
        return 'deployment';
17
    }
18
19
    /**
20
     * HTTP request method.
21
     *
22
     * @return string
23
     */
24
    public function requestMethod()
25
    {
26
        return 'POST';
27
    }
28
}
29