Symfony2 環境の切り替え ref: http://qiita.com/Liberty/items/e7289d747b417a971ca8