Thanks for spotting this!
My bad, I merged the PR without actually testing.
I'll fix and test it first thing tonight.

The tagged version should still be fine if this caused any issues. And my
apologies if it did!

Sent from my HTC.
Op 1-nov.-2013 13:57 schreef "Franz Liedke" <notifications@github.com>:

> In src/Dietervds/IronCache/IronCacheServiceProvider.php:
>
> >      }
> >
> >      public function register()
> >      {
> > -
> > +        $this->app['cache']->extend('ironcache', function($app)
> > +        {
> > +            $prefix = $this->app['config']->get('cache.prefix');
> > +            $config = $this->app['config']->get('laravel4-ironcache::config');
> > +
> > +            return new Repository(new IroncacheStore($prefix, $config));
> > +        });
>
> I don't see how this would work. $this is not bound in the closure, it
> should be $app instead of $this->app.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dietervds/laravel4-ironcache/pull/1/files#r7367558>
> .
>