Skip to content

Commit fd7c5b5

Browse files
authored
Merge pull request #2 from leafsphp/rename-config-to-avoid-conflicts
Rename config class to avoid conflicts with base Leaf\Config
2 parents 5c9e60c + b33ccf1 commit fd7c5b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ protected function setupContainer(array $viewPaths, string $cachePath)
145145
}, true);
146146

147147
$this->container->bindIf('config', function () use ($viewPaths, $cachePath) {
148-
return new Config([
148+
return new BladeConfig([
149149
'view.paths' => $viewPaths,
150150
'view.compiled' => $cachePath,
151151
]);

src/Config.php renamed to src/BladeConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Illuminate\Support\Arr;
77
use Illuminate\Support\Traits\Macroable;
88

9-
class Config implements ArrayAccess
9+
class BladeConfig implements ArrayAccess
1010
{
1111
use Macroable;
1212

0 commit comments

Comments
 (0)