Investigating the Impact of Environment on the Galaxy Luminosity Function.