public function tweak($totalAmount, $itemsPerPage, $page)
    {
        $this->totalAmount = (int) $totalAmount;
        $this->itemsPerPage = (int) $itemsPerPage;
        $this->setCurrentPage($page);

        return $this;
    }
public function tweak($totalAmount, $itemsPerPage, $page)
    {
        $this->totalAmount = (int) $totalAmount;
        $this->itemsPerPage = (int) $itemsPerPage;
        $this->setCurrentPage($page);

        return $this;
    }
public function tweak ( $ totalAmount , $ itemsPerPage , $ page ) { $ this -> totalAmount = ( int ) $ totalAmount ; $ this -> itemsPerPage = ( int ) $ itemsPerPage ; $ this -> setCurrentPage ( $ page ) ; return $ this ; }
Tweaks the service before it can be used

@param integer $totalAmount Total amount of records
@param integer $itemsPerPage Per page count
@param integer $page Current page
@return \Krystal\Paginate\Paginator
Tweaks the service before it can be used