Skip to content

Instantly share code, notes, and snippets.

@fenos
Created July 29, 2017 13:26
Show Gist options
  • Save fenos/801dfd7c8558c198f807c31feb1ec555 to your computer and use it in GitHub Desktop.
Save fenos/801dfd7c8558c198f807c31feb1ec555 to your computer and use it in GitHub Desktop.
<?php
class AppCacheServiceProvider extends ServiceProvider {
public function register()
{
$this->app->extend('cache', function($original, $app) {
return new AppCacheManager($app);
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment