PHP Class Wallabag\CoreBundle\Helper\PreparePagerForEntries

Datei anzeigen Open project: wallabag/wallabag

Public Methods

Method Description
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Router $router )
prepare ( Pagerfanta\Adapter\AdapterInterface $adapter, integer $page = 1 ) : null | Pagerfanta\Pagerfanta

Method Details

__construct() public method

public __construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Router $router )
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$router Symfony\Component\Routing\Router

prepare() public method

public prepare ( Pagerfanta\Adapter\AdapterInterface $adapter, integer $page = 1 ) : null | Pagerfanta\Pagerfanta
$adapter Pagerfanta\Adapter\AdapterInterface
$page integer
return null | Pagerfanta\Pagerfanta