danwall/laravel-newrelic — pull request #1 by danwall (2014-01-09 19:19:39+00:00)
Title: PHP 5.3 transaction names via closure - fixes #8

PHP 5.3 does not support using $this in closures. This fixes the issue
by moving the logic out of its own method directly into the closure
itself. We lose a bit of abstraction by doing this but it's not overly
complex to start with.