Applying pagination to results from a database

dump poruke

Kirby\Toolkit\Collection Object
(
    [0] => 0
    [1] => 1
    [2] => 2
    [3] => 3
    [4] => 4
    [5] => 5
    [6] => 6
    [7] => 7
    [8] => 8
    [9] => 9
    [10] => 10
    [11] => 11
    [12] => 12
    [13] => 13
    [14] => 14
)
Kirby\Toolkit\Collection Object
(
    [0] => 0
    [1] => 1
    [2] => 2
    [3] => 3
    [4] => 4
    [5] => 5
    [6] => 6
    [7] => 7
    [8] => 8
    [9] => 9
    [10] => 10
    [11] => 11
    [12] => 12
    [13] => 13
    [14] => 14
)

dump pagination

Kirby\Toolkit\Pagination Object
(
    [page:protected] => 1
    [total:protected] => 30
    [limit:protected] => 15
    [propertyData:protected] => Array
        (
            [page] => 
            [total] => 30
            [limit] => 15
        )

)
Kirby\Toolkit\Pagination Object
(
    [page:protected] => 1
    [total:protected] => 30
    [limit:protected] => 15
    [propertyData:protected] => Array
        (
            [page] => 
            [total] => 30
            [limit] => 15
        )

)

Not sure why they both dump a double?!