public function appendIf($condition, string $append)
    {
        if ($this->resolveCondition($condition)) {
            return $this->append($append);
        }

        return $this;
    }
public function appendIf($condition, string $append)
    {
        if ($this->resolveCondition($condition)) {
            return $this->append($append);
        }

        return $this;
    }
public function appendIf ( $ condition , string $ append ) { if ( $ this -> resolveCondition ( $ condition ) ) { return $ this -> append ( $ append ) ; } return $ this ; }
Append the text with a string of html on render if a certain condition is
met.

@param bool $condition
@param string $append

@return static
Append the text with a string of html on render if a certain condition is met .