What is the cleanest way of using the Doctrine findBy methods but getting an array returned and not objects.
Doctrine::getTable(\'Table\')->findOneById(x)
Try use toArray
Doctrine::getTable('Table')->findOneById(x)->toArray();