protected function validatePromptList($field, $label, $validator, $default = null)
    {
        $input = $this->prompt($label, $default);

        if ($this->isValidInput($this->explodeList($input), $field, $validator)) {
            $this->setSubmitted($field, $input);
        } else {
            $this->errors();
            $this->validatePromptList($field, $label, $validator, $default);
        }
    }
protected function validatePromptList($field, $label, $validator, $default = null)
    {
        $input = $this->prompt($label, $default);

        if ($this->isValidInput($this->explodeList($input), $field, $validator)) {
            $this->setSubmitted($field, $input);
        } else {
            $this->errors();
            $this->validatePromptList($field, $label, $validator, $default);
        }
    }
protected function validatePromptList ( $ field , $ label , $ validator , $ default = null ) { $ input = $ this -> prompt ( $ label , $ default ) ; if ( $ this -> isValidInput ( $ this -> explodeList ( $ input ) , $ field , $ validator ) ) { $ this -> setSubmitted ( $ field , $ input ) ; } else { $ this -> errors ( ) ; $ this -> validatePromptList ( $ field , $ label , $ validator , $ default ) ; } }
Validate prompt input when dealing with multiple values separated by a list character
@param string $field
@param string $label
@param string $validator
@param null|string $default
Validate prompt input when dealing with multiple values separated by a list character