public function registerBladeStringEngine($resolver) {
        $app = $this->app;

        // The Compiler engine requires an instance of the CompilerInterface, which in
        // this case will be the Blade compiler, so we'll first create the compiler
        // instance to pass into the engine so it can compile the views properly.

        $app->singleton('blade.string.compiler', function ($app) {
            $cache = $app['config']['view.compiled'];

            return new BladeStringCompiler($app['files'], $app['blade.compiler'], $cache);
        });

        $resolver->register('blade.string', function () use ($app) {
            return new CompilerEngine($app['blade.string.compiler'], $app['files']);
        });
    }