SelectContract   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getRows() 0 3 1
A getRowConfig() 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 SelectContract.
16
 */
17
class SelectContract extends Response
18
{
19
20
    /**
21
     * Returns the value of the rowConfig field.
22
     *
23
     * @return string
24
     *
25
     * @throws ValidateException
26
     */
27 1
    public function getRowConfig()
28
    {
29 1
        return $this->getRequestValue('rowConfig');
30
    }
31
32
    /**
33
     * Returns the value of the rows field.
34
     *
35
     * @return string
36
     *
37
     * @throws ValidateException
38
     */
39 1
    public function getRows()
40
    {
41 1
        return $this->getRequestValue('rows');
42
    }
43
}
44