Insert::getMethod()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
4
namespace Manticoresearch\Endpoints;
5
6
use Manticoresearch\Request;
7
8
/**
9
 * Class Insert
10
 * @package Manticoresearch\Endpoints
11
 */
12
class Insert extends Request
13
{
14
    /**
15
     * @return mixed|string
16
     */
17
    public function getPath()
18
    {
19
        return '/json/insert';
20
    }
21
22
    /**
23
     * @return mixed|string
24
     */
25
    public function getMethod()
26
    {
27
        return 'POST';
28
    }
29
}
30