Completed
Push — master ( 97fc71...726d4b )
by WEBEWEB
01:08
created

CommunesRequest::getResourcePath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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\Request\Commune;
13
14
use WBW\Library\GeoAPI\Model\Attribute\StringFormatTrait;
15
use WBW\Library\GeoAPI\Model\Attribute\StringGeometryTrait;
16
use WBW\Library\GeoAPI\Request\AbstractRequest;
17
18
/**
19
 * Communes request.
20
 *
21
 * @author webeweb <https://github.com/webeweb/>
22
 * @package WBW\Library\GeoAPI\Request\Commune
23
 */
24
class CommunesRequest extends AbstractRequest {
25
26
    use StringFormatTrait;
27
    use StringGeometryTrait;
28
29
    /**
30
     * Resource path.
31
     *
32
     * @avr string
33
     */
34
    const RESOURCE_PATH = "/communes";
35
36
    /**
37
     * {@inheritDoc}
38
     */
39
    public function getResourcePath(): string {
40
        return self::RESOURCE_PATH;
41
    }
42
}