From c53c74b5160e978f2a2678f90f9add40d7c337a9 Mon Sep 17 00:00:00 2001 From: Brian Faust Date: Tue, 8 Jun 2021 07:32:40 +0300 Subject: [PATCH] fix: register blade engines during boot --- src/CommonMarkServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CommonMarkServiceProvider.php b/src/CommonMarkServiceProvider.php index 990f857..f367d64 100644 --- a/src/CommonMarkServiceProvider.php +++ b/src/CommonMarkServiceProvider.php @@ -28,8 +28,6 @@ class CommonMarkServiceProvider extends ServiceProvider public function register(): void { $this->registerViewFinder(); - - $this->registerBladeEngines(); } /** @@ -41,6 +39,8 @@ public function boot(): void { $this->registerPublishers(); + $this->registerBladeEngines(); + $this->registerCommonMarkEnvironment(); }