ResultsetInterface::toArray's behavior is different to Model::toArray ?

if I override the Model::toArray for the Robots, when I use Robots::find()->toArray(), the returned value is not an array of Robots::toArray()'s result, is that a bug ? @phalcon



83.4k

Call Robots::find()->toArray() is in fact calling Phalcon\Mvc\Model\Query\Simple::toArray() http://docs.phalconphp.com/en/latest/api/Phalcon%5Mvc%5Model%5Resultset%5Simple.html#methods