Box::getHeight()   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\Geometry;
4
5
class Box
6
{
7
    /**
8
     * @var int
9
     */
10
    private $height;
11
    /**
12
     * @var int
13
     */
14
    private $width;
15
16
    /**
17
     * @param int $height
18
     * @param int $width
19
     */
20
    public function __construct($width, $height)
21
    {
22
        $this->width = $width;
23
        $this->height = $height;
24
    }
25
26
    /**
27
     * @return int
28
     */
29
    public function getHeight()
30
    {
31
        return $this->height;
32
    }
33
34
    /**
35
     * @return int
36
     */
37
    public function getWidth()
38
    {
39
        return $this->width;
40
    }
41
}
42