Completed
Push — master ( fb47da...fedb3d )
by WEBEWEB
01:20
created

Page::getRotation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the core-library package.
5
 *
6
 * (c) 2020 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Library\Core\ThirdParty\OcrLad\Model;
13
14
use WBW\Library\Core\Model\Attribute\IntegerHeightTrait;
15
use WBW\Library\Core\Model\Attribute\IntegerWidthTrait;
16
17
/**
18
 * Page.
19
 *
20
 * @author webeweb <https://github.com/webeweb>
21
 * @package WBW\Library\Core\ThirdParty\OcrLad\Model
22
 */
23
class Page {
24
25
    use IntegerHeightTrait;
26
    use IntegerWidthTrait;
27
28
    /**
29
     * Resolution.
30
     *
31
     * @var int
32
     */
33
    private $resolution;
34
35
    /**
36
     * Rotation.
37
     *
38
     * @var int
39
     */
40
    private $rotation;
41
42
    /**
43
     * Tag.
44
     *
45
     * @var int
46
     */
47
    private $tag;
48
49
    /**
50
     * Constructor.
51
     */
52
    public function __construct() {
53
        // NOTHING TO DO.
54
    }
55
56
    /**
57
     * Get the resolution.
58
     *
59
     * @return int Returns the resolution.
60
     */
61
    public function getResolution() {
62
        return $this->resolution;
63
    }
64
65
    /**
66
     * Get the rotation.
67
     *
68
     * @return int Returns the rotation.
69
     */
70
    public function getRotation() {
71
        return $this->rotation;
72
    }
73
74
    /**
75
     * Get the tag.
76
     *
77
     * @return int Returns the tag.
78
     */
79
    public function getTag() {
80
        return $this->tag;
81
    }
82
83
    /**
84
     * Set the resolution.
85
     *
86
     * @param int $resolution
87
     * @return Page Returns this page.
88
     */
89
    public function setResolution($resolution) {
90
        $this->resolution = $resolution;
91
        return $this;
92
    }
93
94
    /**
95
     * Set the rotation.
96
     *
97
     * @param int $rotation The rotation.
98
     * @return Page Returns this page.
99
     */
100
    public function setRotation($rotation) {
101
        $this->rotation = $rotation;
102
        return $this;
103
    }
104
105
    /**
106
     * Set the tag.
107
     *
108
     * @param int $tag The tag.
109
     * @return Page Returns this page.
110
     */
111
    public function setTag($tag) {
112
        $this->tag = $tag;
113
        return $this;
114
    }
115
116
}