Best place for Doctrine QueryBuilder

I just manage to have query builder with ci and doctrine. I could not figure out Where should i place doctrine query builder definition. In controller itself or in Model?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.