public function setDenyAspectRatio($x, $y)
    {
        $this->denyAspectRatioX = (int)$x;
        $this->denyAspectRatioY = (int)$y;

        return $this;
    }
public function setDenyAspectRatio($x, $y)
    {
        $this->denyAspectRatioX = (int)$x;
        $this->denyAspectRatioY = (int)$y;

        return $this;
    }
public function setDenyAspectRatio ( $ x , $ y ) { $ this -> denyAspectRatioX = ( int ) $ x ; $ this -> denyAspectRatioY = ( int ) $ y ; return $ this ; }
Set the "denied" aspect ratio.
By setting these,
images with this aspect ratio are denied for uploading.
@param $x
@param $y
@return ImageUploadValidator
Set the denied aspect ratio . By setting these images with this aspect ratio are denied for uploading .