for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the core-library package.
*
* (c) 2020 WEBEWEB
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\Core\ThirdParty\OcrLad\Model;
use WBW\Library\Core\Model\Attribute\IntegerHeightTrait;
use WBW\Library\Core\Model\Attribute\IntegerWidthTrait;
/**
* Page.
* @author webeweb <https://github.com/webeweb>
* @package WBW\Library\Core\ThirdParty\OcrLad\Model
class Page {
use IntegerHeightTrait;
use IntegerWidthTrait;
* Resolution.
* @var int
private $resolution;
* Rotation.
private $rotation;
* Tag.
private $tag;
* Constructor.
public function __construct() {
// NOTHING TO DO.
}
* Get the resolution.
* @return int Returns the resolution.
public function getResolution() {
return $this->resolution;
* Get the rotation.
* @return int Returns the rotation.
public function getRotation() {
return $this->rotation;
* Get the tag.
* @return int Returns the tag.
public function getTag() {
return $this->tag;
* Set the resolution.
* @param int $resolution
* @return Page Returns this page.
public function setResolution($resolution) {
$this->resolution = $resolution;
return $this;
* Set the rotation.
* @param int $rotation The rotation.
public function setRotation($rotation) {
$this->rotation = $rotation;
* Set the tag.
* @param int $tag The tag.
public function setTag($tag) {
$this->tag = $tag;