|
@@ -48,6 +48,7 @@ class Paginator {
|
|
public function __construct($results, $total, $per_page)
|
|
public function __construct($results, $total, $per_page)
|
|
{
|
|
{
|
|
$this->page = static::page($total, $per_page);
|
|
$this->page = static::page($total, $per_page);
|
|
|
|
+
|
|
$this->per_page = $per_page;
|
|
$this->per_page = $per_page;
|
|
$this->results = $results;
|
|
$this->results = $results;
|
|
$this->total = $total;
|
|
$this->total = $total;
|