jbrooksuk/Cachet — pull request #43 by Ehesp (2014-11-26 16:22:23+00:00)
Title: Repository pattern implementation

This PR applies the repository pattern design to the Component Eloquent model, and also breaks down the controllers into name spaced files.

- This allows the controllers to be tested in isolation. The repository methods can be mocked.
- Provides a single way to access a (in this case) Eloquent process.