From c8d9ffc455209c93196cd1e3a6d940c068d302d4 Mon Sep 17 00:00:00 2001 From: Terre Porter Date: Tue, 15 Sep 2020 19:17:35 -0400 Subject: [PATCH] fix strpos error --- src/{Facade => Facades}/StringBlade.php | 0 src/StringBladeServiceProvider.php | 11 +++-------- 2 files changed, 3 insertions(+), 8 deletions(-) rename src/{Facade => Facades}/StringBlade.php (100%) 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(); } /**