protected function _minuteSelect($options, $context)
    {
        $options += [
            'name' => '',
            'val' => null,
            'interval' => 1,
            'round' => 'up',
            'leadingZeroKey' => true,
            'leadingZeroValue' => true,
            'templateVars' => [],
        ];
        $options['interval'] = max($options['interval'], 1);
        if (empty($options['options'])) {
            $options['options'] = $this->_generateNumbers(0, 59, $options);
        }

        unset(
            $options['leadingZeroKey'],
            $options['leadingZeroValue'],
            $options['interval'],
            $options['round']
        );

        return $this->_select->render($options, $context);
    }
protected function _minuteSelect($options, $context)
    {
        $options += [
            'name' => '',
            'val' => null,
            'interval' => 1,
            'round' => 'up',
            'leadingZeroKey' => true,
            'leadingZeroValue' => true,
            'templateVars' => [],
        ];
        $options['interval'] = max($options['interval'], 1);
        if (empty($options['options'])) {
            $options['options'] = $this->_generateNumbers(0, 59, $options);
        }

        unset(
            $options['leadingZeroKey'],
            $options['leadingZeroValue'],
            $options['interval'],
            $options['round']
        );

        return $this->_select->render($options, $context);
    }
protected function _minuteSelect ( $ options , $ context ) { $ options += [ 'name' => '' , 'val' => null , 'interval' => 1 , 'round' => 'up' , 'leadingZeroKey' => true , 'leadingZeroValue' => true , 'templateVars' => [ ] , ] ; $ options [ 'interval' ] = max ( $ options [ 'interval' ] , 1 ) ; if ( empty ( $ options [ 'options' ] ) ) { $ options [ 'options' ] = $ this -> _generateNumbers ( 0 , 59 , $ options ) ; } unset ( $ options [ 'leadingZeroKey' ] , $ options [ 'leadingZeroValue' ] , $ options [ 'interval' ] , $ options [ 'round' ] ) ; return $ this -> _select -> render ( $ options , $ context ) ; }
Generates a minute select

@param array $options The options to generate a minute select with.
@param \Cake\View\Form\ContextInterface $context The current form context.
@return string
Generates a minute select