Update README.md

This commit is contained in:
RobertPlant 2013-06-13 11:28:49 +02:00
parent 7824678e70
commit fd5ef8005e

View file

@ -386,6 +386,9 @@ Pagerfanta:
/** var Pagerfanta\Pagerfanta */
$userPaginator = $finder->findPaginated('bob');
/** Number of results to be used for paging the results */
$countOfResults = $userPaginator->getNbResults();
Knp paginator:
$paginator = $this->get('knp_paginator');