Skip to content

Commit 8dc7d31

Browse files
committed
🚑 Add back render method
1 parent 935de07 commit 8dc7d31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Blade.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ public function __construct($viewPaths, string $cachePath, ContainerInterface $c
4040
$this->compiler = $this->container->get('blade.compiler');
4141
}
4242

43+
public function render(string $view, array $data = [], array $mergeData = []): string
44+
{
45+
return $this->make($view, $data, $mergeData)->render();
46+
}
47+
4348
public function make($view, $data = [], $mergeData = []): View
4449
{
4550
return $this->factory->make($view, $data, $mergeData);

0 commit comments

Comments
 (0)