-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #3 - _getCacheInternalId() is too generic
Signed-off-by: Frank Brückner <[email protected]>
- Loading branch information
1 parent
1e7334a
commit 8670b71
Showing
3 changed files
with
95 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
/** | ||
* @see https://github.com/laminas/laminas-paginator for the canonical source repository | ||
* @copyright https://github.com/laminas/laminas-paginator/blob/master/COPYRIGHT.md | ||
* @license https://github.com/laminas/laminas-paginator/blob/master/LICENSE.md New BSD License | ||
*/ | ||
|
||
namespace LaminasTest\Paginator\TestAsset; | ||
|
||
use Laminas\Paginator\Adapter\DbSelect; | ||
|
||
class TestDbSelectAdapter extends DbSelect | ||
{ | ||
/** | ||
* @inheritDoc | ||
*/ | ||
public function count() | ||
{ | ||
return 10; | ||
} | ||
|
||
/** | ||
* @inheritDoc | ||
*/ | ||
public function getItems($pageNumber, $itemCountPerPage) | ||
{ | ||
return range(1, 10); | ||
} | ||
} |