29.07.2016 Views

laravel-5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Upgrade Guide 38<br />

Current Route Access<br />

The current route is now accessed via Route::current() instead of Route::getCurrentRoute().<br />

Composer Update<br />

Once you have completed the changes above, you can run the composer update function to update<br />

your core application files! If you receive class load errors, try running the update command with<br />

the --no-scripts option enabled like so: composer update --no-scripts.<br />

Wildcard Event Listeners<br />

The wildcard event listeners no longer append the event to your handler functions parameters. If<br />

you require finding the event that was fired you should use Event::firing().

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!