Braunson\LaravelHTML5Forms\FormBuilder::setQuickNumberMinMax PHP Method

setQuickNumberMinMax() protected method

Set the number minmax using the quick "minmax" attribute.
protected setQuickNumberMinMax ( array $options ) : array
$options array
return array
    protected function setQuickNumberMinMax($options)
    {
        $segments = explode('|', $options['minmax']);
        return array_merge($options, array('min' => $segments[0], 'max' => $segments[1]));
    }