src/Paging/PagingInfo.php
public function toArray()
    {
        return [
            PAGE => $this->page,
            PAGE_SIZE => $this->pageSize,
            TOTAL_PAGES => $this->totalPages,
            TOTAL_COUNT => $this->totalCount
        ];
    }
public function toArray()
    {
        return [
            PAGE => $this->page,
            PAGE_SIZE => $this->pageSize,
            TOTAL_PAGES => $this->totalPages,
            TOTAL_COUNT => $this->totalCount
        ];
    }
Get the instance as an array.

@return array