getStartOffset()   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
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Maztech\Exceptions;
4
5
/**
6
 * Class InstagramResumableUploadException
7
 *
8
 * @package Instagram
9
 */
10
class InstagramResumableUploadException extends InstagramSDKException
11
{
12
    protected $startOffset;
13
14
    protected $endOffset;
15
16
    /**
17
     * @return int|null
18
     */
19
    public function getStartOffset()
20
    {
21
        return $this->startOffset;
22
    }
23
24
    /**
25
     * @param int|null $startOffset
26
     */
27
    public function setStartOffset($startOffset)
28
    {
29
        $this->startOffset = $startOffset;
30
    }
31
32
    /**
33
     * @return int|null
34
     */
35
    public function getEndOffset()
36
    {
37
        return $this->endOffset;
38
    }
39
40
    /**
41
     * @param int|null $endOffset
42
     */
43
    public function setEndOffset($endOffset)
44
    {
45
        $this->endOffset = $endOffset;
46
    }
47
}
48