Skip to content

Commit

Permalink
[doc] missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
COil authored Mar 30, 2017
1 parent b69b2d1 commit ba2d9a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/doc/book/7-complex-dynamic-backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ class AdminController extends Controller
{
// Creates the Doctrine query builder used to get all the items. Override it
// to filter the elements displayed in the listing
protected function createListQueryBuilder($entityClass, $sortDirection, $sortField = null);
protected function createListQueryBuilder($entityClass, $sortDirection, $sortField = null, $dqlFilter = null);
// Performs the actual database query to get all the items (using the query
// builder created with the previous method). You can override this method
// to filter the results before sending them to the template
protected function findAll($entityClass, $page = 1, $maxPerPage = 15, $sortField = null, $sortDirection = null);
protected function findAll($entityClass, $page = 1, $maxPerPage = 15, $sortField = null, $sortDirection = null, $dqlFilter = null);
}
```

Expand Down

0 comments on commit ba2d9a4

Please sign in to comment.