Completed
Push — master ( 74bae6...8bdcbb )
by Zbigniew
03:01
created

IdResource   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 14
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getResourceMethodConfiguration() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the zibios/wrike-php-library package.
5
 *
6
 * (c) Zbigniew Ślązak
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Zibios\WrikePhpLibrary\Resource;
13
14
use Zibios\WrikePhpLibrary\Enum\Api\RequestPathFormatEnum;
15
use Zibios\WrikePhpLibrary\Enum\Api\ResourceMethodEnum;
16
use Zibios\WrikePhpLibrary\Resource\Traits\GetAllTrait;
17
18
/**
19
 * Id Resource.
20
 */
21
class IdResource extends AbstractResource
22
{
23
    use GetAllTrait;
24
25
    /**
26
     * @return array
27
     */
28 2
    protected function getResourceMethodConfiguration()
29
    {
30
        return [
31 2
            ResourceMethodEnum::GET_ALL => RequestPathFormatEnum::IDS,
32
        ];
33
    }
34
}
35