Sorry, i think I misunderstood the docs. I should pass the finder-variables as such :
$settings = [
'limit' => 2,
];
$c_allPrices = $this->paginate($this->Prices->find('PricesForListing', ['data' => 'my data']), $settings );
Sorry, i think I misunderstood the docs. I should pass the finder-variables as such :
$settings = [
'limit' => 2,
];
$c_allPrices = $this->paginate($this->Prices->find('PricesForListing', ['data' => 'my data']), $settings );