I have queried for all "Marker" records like so:
$Markers = Marker::find(['order'=>'name ASC','hydration'=>\Phalcon\Mvc\Model\Resultset::HYDRATE_OBJECTS]);
When I call
current($Markers)
I would expect a stdClass
object representing the first record in the resultset. Instead I get a \Phalcon\Db\Result\Pdo
object.
Is this a bug? I'm using 3.4.2.