This repository has been archived by the owner on Jun 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add materialize simple + read update
- Loading branch information
Showing
2 changed files
with
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php namespace Landish\Pagination\Simple; | ||
|
||
use Illuminate\Contracts\Pagination\Paginator as PaginatorContract; | ||
use Landish\Pagination\Materialize as MaterializePresenter; | ||
|
||
class Materialize extends MaterializePresenter { | ||
|
||
/** | ||
* Create a simple Pagination presenter. | ||
* | ||
* @param \Illuminate\Contracts\Pagination\Paginator $paginator | ||
*/ | ||
public function __construct(PaginatorContract $paginator) | ||
{ | ||
$this->paginator = $paginator; | ||
} | ||
|
||
} |