Completed
Push — master ( 5e9615...0f6ac6 )
by WEBEWEB
02:26
created

ListeDepartementsRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 16
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getResourcePath() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the geo-api-library package.
5
 *
6
 * (c) 2020 WEBEWEB
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 WBW\Library\GeoAPI\Model\Request\Departement;
13
14
/**
15
 * Liste départements request.
16
 *
17
 * @author webeweb <https://github.com/webeweb/>
18
 * @package WBW\Library\GeoAPI\Model\Request\Departement
19
 */
20
class ListeDepartementsRequest {
21
22
    /**
23
     * Resource path.
24
     *
25
     * @avr string
26
     */
27
    const RESOURCE_PATH = "/regions/%d/departements";
28
29
    /**
30
     * {@inheritDoc}
31
     */
32
    public function getResourcePath() {
33
        return self::RESOURCE_PATH;
34
    }
35
}