src/Html.php
public function setAssets($Assets)
    {
        if (! is_object($Assets) || ! $Assets instanceof Assets) {
            throw new \InvalidArgumentException(
                'The Assets Interface must be a valid Assets Object'
            );
        }
        $this->Assets = $Assets;

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

        return true;
    }
public function setAssets ( $ Assets ) { if ( ! is_object ( $ Assets ) || ! $ Assets instanceof Assets ) { throw new \ InvalidArgumentException ( 'The Assets Interface must be a valid Assets Object' ) ; } $ this -> Assets = $ Assets ; return true ; }
check and set the Asset interface

@param   Object  Instance of an Assets
@return  bool
@throws  \InvalidArgumentException
check and set the Asset interface