ReaderOptions::getInterpolationMode()   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 AmaTeam\Image\Projection\Type;
4
5
use AmaTeam\Image\Projection\API\Type\ReaderOptionsInterface;
6
use AmaTeam\Image\Projection\Constants;
7
8
class ReaderOptions implements ReaderOptionsInterface
9
{
10
    private $interpolationMode = Constants::INTERPOLATION_BILINEAR;
11
12
    /**
13
     * @return string
14
     */
15
    public function getInterpolationMode()
16
    {
17
        return $this->interpolationMode;
18
    }
19
20
    /**
21
     * @param string $interpolationMode
22
     * @return $this
23
     */
24
    public function setInterpolationMode($interpolationMode)
25
    {
26
        $this->interpolationMode = $interpolationMode;
27
        return $this;
28
    }
29
}
30