src/Delta/Html/Compound.php
public function setAttribute($attribute, $value): Compound
    {
        if ($attribute !== 'link') {
            $this->attributes[$attribute] = $value;
        } else {
            $this->isLink = true;
            $this->link = $value;
        }

        return $this;
    }
public function setAttribute($attribute, $value): Compound
    {
        if ($attribute !== 'link') {
            $this->attributes[$attribute] = $value;
        } else {
            $this->isLink = true;
            $this->link = $value;
        }

        return $this;
    }
public function setAttribute ( $ attribute , $ value ) : Compound { if ( $ attribute !== 'link' ) { $ this -> attributes [ $ attribute ] = $ value ; } else { $ this -> isLink = true ; $ this -> link = $ value ; } return $ this ; }
Pass in an attribute value for conversion

@param string $attribute Attribute name
@param string $value Attribute value to assign

@return Compound
Pass in an attribute value for conversion