11.08.2017 Views

codebright

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

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

Architecture 37<br />

The Facade in this example is the ‘Route’ class. Each Facade is linked to an instance of a component<br />

in the container. The static methods of a Facade are shortcuts, and when called, they call the<br />

appropriate public method of the object that they represent within the container. This means that<br />

the Route::get() method will actually call the following method:<br />

1

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

Saved successfully!

Ooh no, something went wrong!