public function setHtml($Html)
    {
        if (! is_object($Html) || ! $Html instanceof HtmlObject) {
            throw new \InvalidArgumentException(
                'The HTML Object must be a valid HTML Object'
            );
        }
        $this->Html = $Html;

        return true;
    }
public function setHtml($Html)
    {
        if (! is_object($Html) || ! $Html instanceof HtmlObject) {
            throw new \InvalidArgumentException(
                'The HTML Object must be a valid HTML Object'
            );
        }
        $this->Html = $Html;

        return true;
    }
public function setHtml ( $ Html ) { if ( ! is_object ( $ Html ) || ! $ Html instanceof HtmlObject ) { throw new \ InvalidArgumentException ( 'The HTML Object must be a valid HTML Object' ) ; } $ this -> Html = $ Html ; return true ; }
check and set the HTML Object

@param   Object  Instance of an Html
@return  bool
@throws  \InvalidArgumentException
check and set the HTML Object