Skip to content
Commit 1f562e19 authored by Sebastian Köller's avatar Sebastian Köller Committed by GitHub
Browse files

Passing conditions to contain()

I've tried passing a condition to contain, like it was shown in the manual, but I didn't got it to work. The manual said I had to pass contain('myModel', function($q){...}), but instead I had to use an array like contain(['myModel' => function($q){...}]);
I'm using cake 3.4.13
parent 6112e459
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment