Allow App::down() callback to be configurable based on app requirement. Fixes #1701.

Signed-off-by: crynobone <crynobone@gmail.com>
Added "getData" method to retrieve json-decoded data from JsonResponse

In the context of this issue : https://github.com/laravel/framework/issues/1751
changed response type of 'getData' to mixed
added php's default arguments to getData method of JsonResponse
Fixing unreachable exit code
Fixed typos
Merge pull request #1910 from pborreli/patch-1

Fixing unreachable exit code
Small docblock fixes

Signed-off-by: Dries Vints <dries.vints@gmail.com>
prevent error on flushing empty cache
Also fix problem of section returning stale data
Fixed PHPdoc
Fix Str::slug() separator flip.
Refactored by removing an extra line of code

spl_autoload_register function already returns True on success and False on failure.
Merge pull request #1967 from raftalks/patch-4

Refactored by removing an extra line of code
Check Jsonable interface in Response::json method. Fixes #1947.
Merge pull request #1946 from KaneCohen/str3

Fix Str::slug() separator flip.
Fix fetch method for Eloquent models.
Made relations respect visible attributes.
Merge pull request #1933 from fturmel/patch-1

Illuminate\Cookie phpdoc fix
Cast result to array.
Merge pull request #1918 from karptonite/cache_section_patch_4.0

Safely flush empty cache section, and avoid returning stale data from sections (replaces #1906)