Skip to content

Commit

Permalink
Return the blade instance from the configuration method
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnsultan authored Sep 23, 2024
1 parent 9a63087 commit f6ea995
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public function __construct(string $viewPaths = null, string $cachePath = null)
public function configure(string $viewPaths, string $cachePath)
{
$this->blade = new \Jenssegers\Blade\Blade($viewPaths, $cachePath);
return $this->blade;
}

/**
Expand Down

0 comments on commit f6ea995

Please sign in to comment.