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

        return $this;
    }