src/Url.php
public function replacePath($value, $replace)
    {
        $this->data['path'] = str_replace($value, $replace, $this->data['path']);
        return $this;
    }
public function replacePath($value, $replace)
    {
        $this->data['path'] = str_replace($value, $replace, $this->data['path']);
        return $this;
    }
public function replacePath ( $ value , $ replace ) { $ this -> data [ 'path' ] = str_replace ( $ value , $ replace , $ this -> data [ 'path' ] ) ; return $ this ; }
Replacing path.

@param string $value
@param string $replace
@return $this
Replacing path .