From 3ea9f4237e4d7e1d3105b95b476db712111d8993 Mon Sep 17 00:00:00 2001 From: Daniel Coulbourne Date: Mon, 2 Apr 2018 16:14:08 -0400 Subject: [PATCH] Make Illuminate\View\View Macroable. --- src/Illuminate/View/View.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Illuminate/View/View.php b/src/Illuminate/View/View.php index be51cdc11c59..66007ef07128 100755 --- a/src/Illuminate/View/View.php +++ b/src/Illuminate/View/View.php @@ -9,6 +9,7 @@ use Illuminate\Support\Str; use Illuminate\Support\MessageBag; use Illuminate\Contracts\View\Engine; +use Illuminate\Support\Traits\Macroable; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Contracts\Support\Renderable; use Illuminate\Contracts\Support\MessageProvider; @@ -16,6 +17,8 @@ class View implements ArrayAccess, ViewContract { + use Macroable; + /** * The view factory instance. *