Refactoring duplicate switch logic to a single method.
Refactoring duplicate switch logic to a single method.

yinhe007/cakephp,petteyg/cakephp,tisu2tisu/cakephp,adopico/cakephp,gmponos/cakephp,timhoeppner/cakephp,nrother/cakephp,khoimt/cakephp-study,CakeDC/cakephp,khoimt/cakephp-study,mvdriel/cakephp,ndm2/cakephp,jjj117/cakephp,justinyost/cakephp,garethellis36/cakephp,tgr0ss/cakephp,erikfig/cakephp,cakephp-fr/cakephp,akintoey/cakephp,eryw/cakephp,cakephp-fr/cakephp,bravo-kernel/cakephp,ndm2/cakephp,elboletaire/cakephp,erikfig/cakephp,jerems02/cakephp,dakota/cakephp,CakeDC/cakephp,cakephp/cakephp,michaelze/cakephp,mvdriel/cakephp,Balachan27/cakephp,dkarvounaris/cakephp,pbaire/cakephp,thinkingmedia/cakephp,timhoeppner/cakephp,davidyell/cakephp,berrygoudswaard/cakephp,justinyost/cakephp,mvdriel/cakephp,cakephp/cakephp,erikfig/cakephp,davidyell/cakephp,tenkoma/cakephp,nrother/cakephp,jerems02/cakephp,Balachan27/cakephp,garethellis36/cakephp,yinhe007/cakephp,thinkingmedia/cakephp,kumamidori/cakephp,justinyost/cakephp,dkarvounaris/cakephp,ADmad/cakephp,cakephp/cakephp,adopico/cakephp,nrother/cakephp,ndm2/cakephp,jeffblack360/cakephp,eryw/cakephp,pbaire/cakephp,berrygoudswaard/cakephp,jerems02/cakephp,et304383/passbolt_api,Phillaf/cakephp,Phillaf/cakephp,web-player/cakephp,mvdriel/cakephp,ndm2/cakephp,dkarvounaris/cakephp,tenkoma/cakephp,et304383/passbolt_api,tisu2tisu/cakephp,et304383/passbolt_api,eboominathan/cakephp,cakephp/cakephp,akintoey/cakephp,tgr0ss/cakephp,petteyg/cakephp,tgr0ss/cakephp,gmponos/cakephp,et304383/passbolt_api,CVO-Technologies/cakephp,davidyell/cakephp,bravo-kernel/cakephp,tisu2tisu/cakephp,tenkoma/cakephp,jjj117/cakephp,garethellis36/cakephp,khoimt/cakephp-study,burriko/cakephp,web-player/cakephp,yinhe007/cakephp,jeffblack360/cakephp,ADmad/cakephp,timhoeppner/cakephp,garethellis36/cakephp,HavokInspiration/cakephp,jjj117/cakephp,petteyg/cakephp,pbaire/cakephp,Phillaf/cakephp,bravo-kernel/cakephp,elboletaire/cakephp,ADmad/cakephp,eboominathan/cakephp,kumamidori/cakephp,petteyg/cakephp,CVO-Technologies/cakephp,dakota/cakephp,eryw/cakephp,michaelze/cakephp,CakeDC/cakephp,CakeDC/cakephp,Balachan27/cakephp,thinkingmedia/cakephp,adopico/cakephp,HavokInspiration/cakephp,akintoey/cakephp,web-player/cakephp,jeffblack360/cakephp,dakota/cakephp,elboletaire/cakephp,eboominathan/cakephp,ionas/cakephp,gmponos/cakephp,HavokInspiration/cakephp,michaelze/cakephp,tenkoma/cakephp,et304383/passbolt_api,ionas/cakephp,burriko/cakephp,berrygoudswaard/cakephp,ADmad/cakephp,cakephp-fr/cakephp,CVO-Technologies/cakephp,burriko/cakephp,kumamidori/cakephp,ionas/cakephp,dakota/cakephp