Skip to content

Commit

Permalink
Add getDefaultPerPageOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed May 17, 2020
1 parent 4a35298 commit da9598c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Model/ModelManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,11 @@ public function getDefaultSortValues($class)
];
}

public function getDefaultPerPageOptions(string $class): array
{
return [10, 25, 50, 100, 250];
}

public function modelTransform($class, $instance)
{
return $instance;
Expand Down

0 comments on commit da9598c

Please sign in to comment.