Skip to content

Commit

Permalink
Rename config class to avoid conflicts with base Leaf\Config
Browse files Browse the repository at this point in the history
  • Loading branch information
André Rosa authored and André Rosa committed Dec 10, 2023
1 parent 5c9e60c commit b33ccf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ protected function setupContainer(array $viewPaths, string $cachePath)
}, true);

$this->container->bindIf('config', function () use ($viewPaths, $cachePath) {
return new Config([
return new BladeConfig([
'view.paths' => $viewPaths,
'view.compiled' => $cachePath,
]);
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php → src/BladeConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Support\Arr;
use Illuminate\Support\Traits\Macroable;

class Config implements ArrayAccess
class BladeConfig implements ArrayAccess
{
use Macroable;

Expand Down

0 comments on commit b33ccf1

Please sign in to comment.