protected function paginate($collection, $options = array(), $dataRenderer = null)
    {
        return (new Paginator())->paginate($collection, $options, $dataRenderer);
    }
protected function paginate($collection, $options = array(), $dataRenderer = null)
    {
        return (new Paginator())->paginate($collection, $options, $dataRenderer);
    }
protected function paginate ( $ collection , $ options = array ( ) , $ dataRenderer = null ) { return ( new Paginator ( ) ) -> paginate ( $ collection , $ options , $ dataRenderer ) ; }
Wrap a datatable action to paginator to have subset of data

@param $collection
@param array $options
@param null $dataRenderer
@return array
Wrap a datatable action to paginator to have subset of data