original_string: protected function setNumberMinMax($options)
  	{
  		if (isset($options['minmax']))
  		{
              // If "minmax" is false, then don't set any min/max and remove it from the options array
              if ( $options['minmax'] == false){
                  unset($options['minmax']);
                  
                  return $options;
              }
              
  			return $this->setQuickNumberMinMax($options);
  		}
  
  		// If the "minmax" attribute was not specified, we will just look for the regular
  		// min and max attributes, using sane defaults if these do not exist on
  		// the attributes array. We'll then return this entire options array back.
  		$min = array_get($options, 'min', 0);
  		$max = array_get($options, 'max', 10);
  
  		return array_merge($options, compact('min', 'max'));
  	}
code: protected function setNumberMinMax($options)
  	{
  		if (isset($options['minmax']))
  		{
              // If "minmax" is false, then don't set any min/max and remove it from the options array
              if ( $options['minmax'] == false){
                  unset($options['minmax']);
                  
                  return $options;
              }
              
  			return $this->setQuickNumberMinMax($options);
  		}
  
  		// If the "minmax" attribute was not specified, we will just look for the regular
  		// min and max attributes, using sane defaults if these do not exist on
  		// the attributes array. We'll then return this entire options array back.
  		$min = array_get($options, 'min', 0);
  		$max = array_get($options, 'max', 10);
  
  		return array_merge($options, compact('min', 'max'));
  	}
code_tokens: protected function setNumberMinMax ( $ options ) { if ( isset ( $ options [ 'minmax' ] ) ) { // If "minmax" is false, then don't set any min/max and remove it from the options array if ( $ options [ 'minmax' ] == false ) { unset ( $ options [ 'minmax' ] ) ; return $ options ; } return $ this -> setQuickNumberMinMax ( $ options ) ; } // If the "minmax" attribute was not specified, we will just look for the regular // min and max attributes, using sane defaults if these do not exist on // the attributes array. We'll then return this entire options array back. $ min = array_get ( $ options , 'min' , 0 ) ; $ max = array_get ( $ options , 'max' , 10 ) ; return array_merge ( $ options , compact ( 'min' , 'max' ) ) ; }
docstring: Set the number min max on the attributes.
  
  @param  array  $options
  @return array
docstring_tokens: Set the number min max on the attributes .