@@ 96-103 (lines=8) @@ | ||
93 | /** |
|
94 | * {@inheritdoc} |
|
95 | */ |
|
96 | public function createUserList(array $criteria = null, array $orderBy = null) |
|
97 | { |
|
98 | if (empty($criteria['user'])) { |
|
99 | throw new NotFoundHttpException('Not found user.'); |
|
100 | } |
|
101 | ||
102 | return parent::createPaginator($criteria, $orderBy); |
|
103 | } |
|
104 | ||
105 | /** |
|
106 | * {@inheritdoc} |
|
@@ 108-115 (lines=8) @@ | ||
105 | /** |
|
106 | * {@inheritdoc} |
|
107 | */ |
|
108 | public function createUserPaginator(array $criteria = null, array $orderBy = null) |
|
109 | { |
|
110 | if (empty($criteria['user'])) { |
|
111 | throw new NotFoundHttpException('Not found user.'); |
|
112 | } |
|
113 | ||
114 | return parent::createPaginator($criteria, $orderBy); |
|
115 | } |
|
116 | ||
117 | /** |
|
118 | * @param QueryBuilder $queryBuilder |