kirkbushell / eloquence

A drop-in library for certain database functionality in Laravel, that allows for extra features that may never make it into the main project.
MIT License
537 stars 58 forks source link

Rebuild caches command #40

Closed cviebrock closed 8 years ago

cviebrock commented 8 years ago

As discussed in #33, this adds the artisan eloquence:rebuild command to rebuild one or more classes that implement a caching behaviour (i.e. Cacheable or Summable).

cviebrock commented 8 years ago

I haven't added any tests for the command ... partly because I'm not sure how, and partly because it looked like you were in the middle of refactoring the test suite. Mind if I leave that work to you? ;)

cviebrock commented 8 years ago

Have a look at some of the refactoring. I'm not sure I can spend a lot more time on this today, but feel free to take over if you think it's mostly there.

kirkbushell commented 8 years ago

Thanks @cviebrock.

I'll merge this in and work on it today, looks good - thanks for all your help! :)

cviebrock commented 8 years ago

No problem, thank you! I suppose you're going to do a bit more cleanup before tagging another release?

kirkbushell commented 8 years ago

Plus test.etc. haven't tested the feature myself yet.