| 1 | <?php |
||
| 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() { |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Get the resolution. |
||
| 58 | * |
||
| 59 | * @return int Returns the resolution. |
||
| 60 | */ |
||
| 61 | public function getResolution() { |
||
| 64 | |||
| 65 | /** |
||
| 66 | * Get the rotation. |
||
| 67 | * |
||
| 68 | * @return int Returns the rotation. |
||
| 69 | */ |
||
| 70 | public function getRotation() { |
||
| 73 | |||
| 74 | /** |
||
| 75 | * Get the tag. |
||
| 76 | * |
||
| 77 | * @return int Returns the tag. |
||
| 78 | */ |
||
| 79 | public function getTag() { |
||
| 82 | |||
| 83 | /** |
||
| 84 | * Set the resolution. |
||
| 85 | * |
||
| 86 | * @param int $resolution |
||
| 87 | * @return Page Returns this page. |
||
| 88 | */ |
||
| 89 | public function setResolution($resolution) { |
||
| 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) { |
||
| 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) { |
||
| 115 | |||
| 116 | } |