moved logic to an internal method
moved logic to an internal method

arduanov/Silex,jdreesen/Silex,romainneutron/Silex,fhinkel/Silex,beealone/Silex,fabpot/Silex,Xephi/Silex,beealone/Silex,mTorres/Silex,cgsmith/Silex,plotek/Silex,mathroc/Silex,arduanov/Silex,cgsmith/Silex,cesarmarinhorj/Silex,mmauri04/Silex,jdreesen/Silex,mathroc/Silex,fabpot/Silex,romainneutron/Silex,gencer/Silex,silexphp/Silex,mmauri04/Silex,romainneutron/Silex,Xephi/Silex,fhinkel/Silex,mTorres/Silex,plotek/Silex,cesarmarinhorj/Silex