Refactor. Moved logic from findBySqlWithAssociations to ->_generateObjectGraphFromRes...