protected function buildLinks($links, array $linksOptions = [])
    {
        return array_map(function ($link) use ($linksOptions) {
            return $this->Html->link($link[0], $link[1], $linksOptions);
        }, $links);
    }
protected function buildLinks($links, array $linksOptions = [])
    {
        return array_map(function ($link) use ($linksOptions) {
            return $this->Html->link($link[0], $link[1], $linksOptions);
        }, $links);
    }
protected function buildLinks ( $ links , array $ linksOptions = [ ] ) { return array_map ( function ( $ link ) use ( $ linksOptions ) { return $ this -> Html -> link ( $ link [ 0 ] , $ link [ 1 ] , $ linksOptions ) ; } , $ links ) ; }
Internal method to build links, converting them from array to html
@param array $links Array of links parameters
@param array $linksOptions Array of options and HTML attributes
@return array
Internal method to build links converting them from array to html