1
0
mirror of synced 2025-01-31 12:32:59 +03:00
2015-03-03 16:59:48 +01:00

56 lines
933 B
PHP

<?php
namespace Doctrine\Tests\Models\DDC3597\Embeddable;
/**
* Description of DDC3597Dimension
*
* @Embeddable
*/
class DDC3597Dimension {
/**
* @var int
* @Column(type="integer", name="width")
*/
private $width;
/**
* @var int
* @Column(type="integer", name="height")
*/
private $height;
function __construct($width = 0, $height = 0) {
$this->setWidth($width);
$this->setHeight($height);
}
/**
* @return int
*/
public function getWidth() {
return $this->width;
}
/**
* @param int $width
*/
public function setWidth($width) {
$this->width = (int)$width;
}
/**
* @return int
*/
public function getHeight() {
return $this->height;
}
/**
* @param int $height
*/
public function setHeight($height) {
$this->height = (int)$height;
}
}