03.12.2015 Views

laravel4cookbook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Real Time Chat 176<br />

You should also see some console log messages (depending on your browser) which show that<br />

EmberJS is running.<br />

Creating A Service Provider<br />

Following on from a previous tutorial; we’re going to be creating a service provider which will<br />

provide the various classes for our application. Create a new workbench:<br />

1 php artisan workbench formativ/chat<br />

This will produce (amongst other things) a service provider template. I’ve added a few IoC bindings<br />

to it:<br />

1

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

Saved successfully!

Ooh no, something went wrong!