InsertContract   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 13
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
1
<?php
2
3
/**
4
 * @category    Brownie/BpmOnline
5
 * @author      Brownie <[email protected]>
6
 * @license     https://opensource.org/licenses/MIT
7
 */
8
9
namespace Brownie\BpmOnline\DataService\Response;
10
11
use Brownie\BpmOnline\DataService\Response;
12
use Brownie\BpmOnline\Exception\ValidateException;
13
14
/**
15
 * The response to the execution of the contract InsertContract.
16
 */
17
class InsertContract extends Response
18
{
19
20
    /**
21
     * Returns the value of the id field.
22
     *
23
     * @return string
24
     *
25
     * @throws ValidateException
26
     */
27 1
    public function getId()
28
    {
29 1
        return $this->getRequestValue('id');
30
    }
31
}
32