bundles/BlockManagerBundle/Templating/Twig/Runtime/CollectionPagerRuntime.php
public function getCollectionPageUrl(Pagerfanta $pagerfanta, Block $block, string $collectionIdentifier, int $page = 1): string
    {
        if ($page < 1 || $page > $pagerfanta->getNbPages()) {
            throw new InvalidArgumentException(
                'page',
                sprintf('Page %d is out of bounds', $page)
            );
        }

        return call_user_func($this->routeGenerator, $block, $collectionIdentifier, $page);
    }
public function getCollectionPageUrl(Pagerfanta $pagerfanta, Block $block, string $collectionIdentifier, int $page = 1): string
    {
        if ($page < 1 || $page > $pagerfanta->getNbPages()) {
            throw new InvalidArgumentException(
                'page',
                sprintf('Page %d is out of bounds', $page)
            );
        }

        return call_user_func($this->routeGenerator, $block, $collectionIdentifier, $page);
    }
public function getCollectionPageUrl ( Pagerfanta $ pagerfanta , Block $ block , string $ collectionIdentifier , int $ page = 1 ) : string { if ( $ page < 1 || $ page > $ pagerfanta -> getNbPages ( ) ) { throw new InvalidArgumentException ( 'page' , sprintf ( 'Page %d is out of bounds' , $ page ) ) ; } return call_user_func ( $ this -> routeGenerator , $ block , $ collectionIdentifier , $ page ) ; }
Returns the URL of the provided pager and page number.
Returns the URL of the provided pager and page number .