06.10.2016 Views

laravel-5

Create successful ePaper yourself

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

Session 445<br />

Basic Usage<br />

Accessing The Session<br />

First, let’s access the session. We can access the session instance via the HTTP request, which can<br />

be type-hinted on a controller method. Remember, controller method dependencies are injected via<br />

the Laravel service container:<br />

1

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

Saved successfully!

Ooh no, something went wrong!