src/ShellCommand.php
final protected function updateArgument($key, $value)
    {
        foreach ($this->shellArguments as &$shellArgument) {
            if ($shellArgument['key'] === $key) {
                $shellArgument['value'] = $value;

                break;
            }
        }
        unset($shellArgument);

        return $this;
    }
final protected function updateArgument($key, $value)
    {
        foreach ($this->shellArguments as &$shellArgument) {
            if ($shellArgument['key'] === $key) {
                $shellArgument['value'] = $value;

                break;
            }
        }
        unset($shellArgument);

        return $this;
    }
final protected function updateArgument ( $ key , $ value ) { foreach ( $ this -> shellArguments as & $ shellArgument ) { if ( $ shellArgument [ 'key' ] === $ key ) { $ shellArgument [ 'value' ] = $ value ; break ; } } unset ( $ shellArgument ) ; return $ this ; }
Update the specific argument.

@param string $key
@param bool   $value

@return $this
Update the specific argument .