public function setHeight($height)
    {
        if (!is_numeric($height))
        {
            throw new InvalidDataException('Invalid height value');
        }

        $this->height = (int) $height;

        return $this;
    }
public function setHeight($height)
    {
        if (!is_numeric($height))
        {
            throw new InvalidDataException('Invalid height value');
        }

        $this->height = (int) $height;

        return $this;
    }
public function setHeight ( $ height ) { if ( ! is_numeric ( $ height ) ) { throw new InvalidDataException ( 'Invalid height value' ) ; } $ this -> height = ( int ) $ height ; return $ this ; }
Set height for viewport and shot

@param $height
@return $this
@throws InvalidDataException
Set height for viewport and shot