protected function callForOption($optionName, callable $callable)
    {
        $value = $this->input->getOption($optionName);
        if ($value) {
            call_user_func_array($callable, [$value]);
        }
    }
protected function callForOption($optionName, callable $callable)
    {
        $value = $this->input->getOption($optionName);
        if ($value) {
            call_user_func_array($callable, [$value]);
        }
    }
protected function callForOption ( $ optionName , callable $ callable ) { $ value = $ this -> input -> getOption ( $ optionName ) ; if ( $ value ) { call_user_func_array ( $ callable , [ $ value ] ) ; } }
Execute a callback if the input object has a value for the
given option name.

@param string $optionName
@param callable $callable
Execute a callback if the input object has a value for the given option name .