public function replaceAll($name, $value, $valueRegex = null)
    {
        $this->arguments[] = '--replace-all';
        $this->arguments[] = $name;
        $this->arguments[] = $value;
        if ($valueRegex !== null) {
            $this->arguments[] = $valueRegex;
        }
        return $this;
    }
public function replaceAll($name, $value, $valueRegex = null)
    {
        $this->arguments[] = '--replace-all';
        $this->arguments[] = $name;
        $this->arguments[] = $value;
        if ($valueRegex !== null) {
            $this->arguments[] = $valueRegex;
        }
        return $this;
    }
public function replaceAll ( $ name , $ value , $ valueRegex = null ) { $ this -> arguments [ ] = '--replace-all' ; $ this -> arguments [ ] = $ name ; $ this -> arguments [ ] = $ value ; if ( $ valueRegex !== null ) { $ this -> arguments [ ] = $ valueRegex ; } return $ this ; }
Add the replace-all option and associated parameters to the command line.

@param string      $name       The config value name.

@param string      $value      The value to use.

@param null|string $valueRegex The value regex to use.

@return ConfigCommandBuilder
Add the replace - all option and associated parameters to the command line .