laravel/framework — pull request #3456 by JamShady (2014-02-04 18:12:14+00:00)
Title: Added $withBindings parameter to Builder::toSql()

Adds a $withBindings parameter so that the SQL returned by toSql() can be executed directly, or passed through to DB::raw() etc