src/TweedeGolf/Generator/Console/Questioner.php
public function update(Arguments $arguments, $property, $type, array $options = [])
    {
        if (!isset($arguments[$property]) || (isset($options['force']) && $options['force'])) {
            $this->set($arguments, $property, $type, $options);
        }
    }
public function update(Arguments $arguments, $property, $type, array $options = [])
    {
        if (!isset($arguments[$property]) || (isset($options['force']) && $options['force'])) {
            $this->set($arguments, $property, $type, $options);
        }
    }
public function update ( Arguments $ arguments , $ property , $ type , array $ options = [ ] ) { if ( ! isset ( $ arguments [ $ property ] ) || ( isset ( $ options [ 'force' ] ) && $ options [ 'force' ] ) ) { $ this -> set ( $ arguments , $ property , $ type , $ options ) ; } }
Set the value of a property in arguments to the value interactively retrieved if it wasn't set previously.
Will also forcefully request an update for the property if the option 'force' is set.
@param Arguments                 $arguments
@param string                    $property
@param string|InputTypeInterface $type
@param array                     $options
Set the value of a property in arguments to the value interactively retrieved if it wasn t set previously . Will also forcefully request an update for the property if the option force is set .