ApiQueryFault   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 59
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 12
c 1
b 0
f 0
dl 0
loc 59
rs 10
wmc 5

5 Methods

Rating   Name   Duplication   Size   Complexity  
A setRow() 0 4 1
A getColumn() 0 3 1
A getRow() 0 3 1
A setColumn() 0 4 1
A __construct() 0 5 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class ApiQueryFault extends ApiFault
6
{
7
    /**
8
     * @var int
9
     */
10
    protected $row = null;
11
12
    /**
13
     * @var int
14
     */
15
    protected $column = null;
16
17
    /**
18
     * @param ExceptionCode $exceptionCode
19
     * @param string $exceptionMessage
20
     * @param int $row
21
     * @param int $column
22
     */
23
    public function __construct($exceptionCode = null, $exceptionMessage = null, $row = null, $column = null)
24
    {
25
        parent::__construct($exceptionCode, $exceptionMessage);
26
        $this->row = $row;
27
        $this->column = $column;
28
    }
29
30
    /**
31
     * @return int
32
     */
33
    public function getRow()
34
    {
35
        return $this->row;
36
    }
37
38
    /**
39
     * @param int $row
40
     * @return \SForce\Wsdl\ApiQueryFault
41
     */
42
    public function setRow($row)
43
    {
44
        $this->row = $row;
45
        return $this;
46
    }
47
48
    /**
49
     * @return int
50
     */
51
    public function getColumn()
52
    {
53
        return $this->column;
54
    }
55
56
    /**
57
     * @param int $column
58
     * @return \SForce\Wsdl\ApiQueryFault
59
     */
60
    public function setColumn($column)
61
    {
62
        $this->column = $column;
63
        return $this;
64
    }
65
}
66