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

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

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

@param bool $condition
@param string $prepend

@return $this
Prepend the text with a string of html on render if a certain condition is met .