for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Soluble\Media;
class BoxDimension
{
/**
*
* @var integer
*/
protected $width;
protected $height;
* @param int $width
* @param int $height
public function __construct($width = null, $height = null)
$this->setWidth($width);
$this->setHeight($height);
}
* @return \Soluble\Media\BoxDimension
public function setWidth($width)
$this->width = $width;
return $this;
* @return int
public function getWidth()
return $this->width;
public function setHeight($height)
$this->height = $height;
public function getHeight()
return $this->height;