src/Core/ContentProcessor.php
public function doReplace($searchFor, $replaceWith)
    {
        $this->content = str_replace($searchFor, $replaceWith, $this->content);

        // for chaining

        return $this;
    }
public function doReplace($searchFor, $replaceWith)
    {
        $this->content = str_replace($searchFor, $replaceWith, $this->content);

        // for chaining

        return $this;
    }
public function doReplace ( $ searchFor , $ replaceWith ) { $ this -> content = str_replace ( $ searchFor , $ replaceWith , $ this -> content ) ; // for chaining return $ this ; }
Immediately replaces part of data

@param $searchFor string
@param $replaceWith string
@return $this
Immediately replaces part of data