public function extendSession(Application $app)
    {
        $app->resolving('session', function(SessionManager $session) {
            $session->extend('memcache', function ($app) {
                return $app['memcache.driver'];
            });
        });
    }
public function extendSession(Application $app)
    {
        $app->resolving('session', function(SessionManager $session) {
            $session->extend('memcache', function ($app) {
                return $app['memcache.driver'];
            });
        });
    }
public function extendSession ( Application $ app ) { $ app -> resolving ( 'session' , function ( SessionManager $ session ) { $ session -> extend ( 'memcache' , function ( $ app ) { return $ app [ 'memcache.driver' ] ; } ) ; } ) ; }
Add the memcache driver to the session manager.

@param \Illuminate\Contracts\Foundation\Application  $app
Add the memcache driver to the session manager .