Is there any way to hydrate a Resultset/Simple using array instead of PDO result? I want to hydrate a resultset from cached associative array results. I use that array to hydrate resultsets with differents objects.
I saw a "TYPE_RESULT_FULL" on the resultset but I have no clue about how to use it.
/**
* Phalcon\Mvc\Model\Resultset\Simple constructor
*
* @param array $columnMap
* @param \Phalcon\Mvc\ModelInterface|Phalcon\Mvc\Model\Row $model
* @param \Phalcon\Db\Result\Pdo|null $result
* @param \Phalcon\Cache\BackendInterface $cache
* @param boolean $keepSnapshots
*/
public function __construct($columnMap, $model, $result, \Phalcon\Cache\BackendInterface $cache = null, $keepSnapshots = null) {}