Skip to content

Commit

Permalink
Merge pull request #345 from bytehead/patch-2
Browse files Browse the repository at this point in the history
Fix interface in usage.md
  • Loading branch information
garak authored Feb 5, 2025
2 parents 311818b + bac369a commit 6eda77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pager/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $dispatcher->addSubscriber(new PaginationSubscriber());
$dispatcher->addSubscriber(new SortableSubscriber());

// here we're using the the default access to arguments, based on Symfony Request
// you can use your preferred way to retrieve them, by implementing RequestArgumentAccessInterface
// you can use your preferred way to retrieve them, by implementing ArgumentAccessInterface
$accessor = new RequestArgumentAccess(RequestStack::createFromGlobals());

$paginator = new Paginator($dispatcher, $accessor);
Expand Down

0 comments on commit 6eda77f

Please sign in to comment.