diff --git a/src/Facade/StringBlade.php b/src/Facades/StringBlade.php similarity index 100% rename from src/Facade/StringBlade.php rename to src/Facades/StringBlade.php diff --git a/src/StringBladeServiceProvider.php b/src/StringBladeServiceProvider.php index 5e6b4e5..1047e05 100644 --- a/src/StringBladeServiceProvider.php +++ b/src/StringBladeServiceProvider.php @@ -18,20 +18,15 @@ class StringBladeServiceProvider extends ViewServiceProvider implements Deferrab */ public function register() { - // include the package config $this->mergeConfigFrom( __DIR__.'/../config/blade.php', 'blade' ); - // load the alias (handled by the Laravel autoloader) - //$this->app->alias('StringBlade', 'Wpb\String_Blade_Compiler\Facades\StringBlade'); - - $this->registerEngineResolver(); - - $this->registerViewFinder(); - $this->registerFactory(); + $this->registerViewFinder(); + $this->registerBladeCompiler(); + $this->registerEngineResolver(); } /**