Completed
Push — master ( 791aba...50879e )
by Timur
01:32
created

GetConfigCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 10
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A resourcePath() 0 3 1
A resourceClass() 0 3 1
1
<?php
2
3
namespace Linode\Api\Configs\Commands;
4
5
use Linode\Api\Configs\Config;
6
use Zurbaev\ApiClient\Commands\GetResourceCommand;
7
8
class GetConfigCommand extends GetResourceCommand
9
{
10
    public function resourcePath()
11
    {
12
        return 'configs';
13
    }
14
15
    public function resourceClass()
16
    {
17
        return Config::class;
18
    }
19
}
20