protected function _formatNumber($templater, $options)
    {
        $url = array_merge($options['url'], ['page' => $options['page']]);
        $vars = [
            'text' => $options['text'],
            'url' => $this->generateUrl($url, $options['model']),
        ];

        return $templater->format('number', $vars);
    }
protected function _formatNumber($templater, $options)
    {
        $url = array_merge($options['url'], ['page' => $options['page']]);
        $vars = [
            'text' => $options['text'],
            'url' => $this->generateUrl($url, $options['model']),
        ];

        return $templater->format('number', $vars);
    }
protected function _formatNumber ( $ templater , $ options ) { $ url = array_merge ( $ options [ 'url' ] , [ 'page' => $ options [ 'page' ] ] ) ; $ vars = [ 'text' => $ options [ 'text' ] , 'url' => $ this -> generateUrl ( $ url , $ options [ 'model' ] ) , ] ; return $ templater -> format ( 'number' , $ vars ) ; }
Formats a number for the paginator number output.

@param \Cake\View\StringTemplate $templater StringTemplate instance.
@param array $options Options from the numbers() method.
@return string
Formats a number for the paginator number output .