laravel/framework — pull request #2519 by JosephSilber (2013-10-18 19:40:07+00:00)
Title: Allow an environment name to be passed to App::environment directly

It would be nice to not have to do the comparison in the conditional:

if (App::environment('local'))
{
// some dev stuff
}

instead of currently doing this:

if (App::environment() == 'local')
{
// some dev stuff
}