Completed
Push — master ( 0f6ac6...c701d2 )
by WEBEWEB
01:05
created

CommunesRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

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\Commune;
13
14
use WBW\Library\GeoAPI\Model\AbstractRequest;
15
16
/**
17
 * Communes request.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Library\GeoAPI\Model\Request\Commune
21
 */
22
class CommunesRequest extends AbstractRequest {
23
24
    /**
25
     * Resource path.
26
     *
27
     * @avr string
28
     */
29
    const RESOURCE_PATH = "/communes";
30
31
    /**
32
     * {@inheritDoc}
33
     */
34
    public function getResourcePath() {
35
        return self::RESOURCE_PATH;
36
    }
37
}