03.12.2015 Views

laravel4cookbook

Create successful ePaper yourself

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

Packages 155<br />

.<br />

chine.php.<br />

The main to note about these implementations is that they use dependency injection instead of<br />

creating class instances in their constructors. As I pointed out before; we’re not going to go over the<br />

actually implementation code, but feel free to port it over from the application-based commands.<br />

As you can probably tell; I’ve combined related functionality into four main classes. This becomes<br />

even more apparent when you consider what the service provider has become:<br />

1

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

Saved successfully!

Ooh no, something went wrong!