1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,29 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Illuminate\Contracts\Pagination; |
|
4 |
- |
|
5 |
-interface LengthAwarePaginator extends Paginator |
|
6 |
-{ |
|
7 |
- /** |
|
8 |
- * Create a range of pagination URLs. |
|
9 |
- * |
|
10 |
- * @param int $start |
|
11 |
- * @param int $end |
|
12 |
- * @return array |
|
13 |
- */ |
|
14 |
- public function getUrlRange($start, $end); |
|
15 |
- |
|
16 |
- /** |
|
17 |
- * Determine the total number of items in the data store. |
|
18 |
- * |
|
19 |
- * @return int |
|
20 |
- */ |
|
21 |
- public function total(); |
|
22 |
- |
|
23 |
- /** |
|
24 |
- * Get the page number of the last available page. |
|
25 |
- * |
|
26 |
- * @return int |
|
27 |
- */ |
|
28 |
- public function lastPage(); |
|
29 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,29 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Illuminate\Contracts\Pagination; |
|
4 |
+ |
|
5 |
+interface LengthAwarePaginator extends Paginator |
|
6 |
+{ |
|
7 |
+ /** |
|
8 |
+ * Create a range of pagination URLs. |
|
9 |
+ * |
|
10 |
+ * @param int $start |
|
11 |
+ * @param int $end |
|
12 |
+ * @return array |
|
13 |
+ */ |
|
14 |
+ public function getUrlRange($start, $end); |
|
15 |
+ |
|
16 |
+ /** |
|
17 |
+ * Determine the total number of items in the data store. |
|
18 |
+ * |
|
19 |
+ * @return int |
|
20 |
+ */ |
|
21 |
+ public function total(); |
|
22 |
+ |
|
23 |
+ /** |
|
24 |
+ * Get the page number of the last available page. |
|
25 |
+ * |
|
26 |
+ * @return int |
|
27 |
+ */ |
|
28 |
+ public function lastPage(); |
|
29 |
+} |