protected function limitList(array &$list, array $limit)
    {
        list($from, $to) = $limit;
        $list = array_slice($list, $from, $to, true);
    }
protected function limitList(array &$list, array $limit)
    {
        list($from, $to) = $limit;
        $list = array_slice($list, $from, $to, true);
    }
protected function limitList ( array & $ list , array $ limit ) { list ( $ from , $ to ) = $ limit ; $ list = array_slice ( $ list , $ from , $ to , true ) ; }
Limit the list using the limit
@param array $list
@param array $limit
Limit the list using the limit