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.

Cache 187<br />

drivers defined for your application. The Repository contract is typically an implementation of the<br />

default cache driver for your application as specified by your cache configuration file.<br />

However, you may also use the Cache facade, which is what we will use throughout this documentation.<br />

The Cache facade provides convenient, terse access to the underlying implementations of the<br />

Laravel cache contracts.<br />

For example, let’s import the Cache facade into a controller:<br />

.<br />

1

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

Saved successfully!

Ooh no, something went wrong!