We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Inject custom resultset handler.

Aye, I wana use a custom extension on the Phalcon\Mvc\Model\Resultset\Simple provided by the find() func. and could not find any example how to mirror the results, do I have to construct a new Resultset with the following vars

array $columnMap, $model, $result, $cache, $keepSnapshots

and roll each result into my object or there is a better way for it? Because I just wana extend a simple function to convert the results for a more arraylike version e.g.: ```array( [product_id] => [product_name] [product_id] => [product_name] )


Or can i just create a custom hydration mode and inject that?

Thanks for the help!