Is it possible in PHALCON to fetch all rows base on the resultset object? My goal is to fetch all User's data in User table base on the user assigned entityID/s.
I don't want to extract my $allowedEntity object into array so that I can save execution time. I need to do for loop to convert my object into array so I prefer passing the whole object into the model finder.
I tried hydration but it didn't work.
$allowedEntity= $this->userallowedEntity();
Pass my $allowedEntity resultset in the model
if($allowedEntity) { $user = User::find(); }