KuiKui/MemcacheServiceProvider — pull request #5 by klunejko (2013-07-20 19:50:50+00:00)
Title: register parameters with service container

Currently, parameters aren't actually set unless the user specifies them when registering the provider. Any code that then tries to access these, ends up throwing exceptions. Moving them to register ensures all required parameters are created after the provider is registered.

Right now, trying to set values will fail if 'memcache.default_compress' hasn't been set. Same with any of the other parameters.

@SimpleWrapper:29
$compress = $this->app['memcache.default_compress'];