public function __construct($x, $y) { $this->checkLimits($x, $y); $this->lowerLimit = min($x, $y); $this->upperLimit = max($x, $y); $this->shrinkTarget = min(abs($this->lowerLimit), abs($this->upperLimit)); }