protected function addItemToTheStartOfPageArray($pageArray, $page, $type)
    {
        array_unshift($pageArray, [
            'page' => $page,
            'label' => $this->paginationConfig['labels'][$type],
            'type' => $type
        ]);

        return $pageArray;
    }