public function setHeight($height)
    {
        if (is_int($height) === true) {
            $this->height = $height;
        } else {
            $msg = "The 'height' argument must be an integer, '" . gettype($height) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setHeight($height)
    {
        if (is_int($height) === true) {
            $this->height = $height;
        } else {
            $msg = "The 'height' argument must be an integer, '" . gettype($height) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setHeight ( $ height ) { if ( is_int ( $ height ) === true ) { $ this -> height = $ height ; } else { $ msg = "The 'height' argument must be an integer, '" . gettype ( $ height ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the height of the object.

A negative value describes that no height is provided.

@param integer $height A height.
@throws \InvalidArgumentException If $height is not an integer value.
Set the height of the object .