laravel/framework — pull request #1204 by Xees (2013-05-06 15:13:24+00:00)
Title: View/Environment->share function modification: Add support to accept an array of variables, or a key and a value.

In the olden ways, you needed to add a foreach statement for each variable you want to share over all your views.

This removes that obstacle.