diff --git a/laravel/view.php b/laravel/view.php index bc3eefcd..a8ffd915 100644 --- a/laravel/view.php +++ b/laravel/view.php @@ -350,6 +350,8 @@ class View { { return static::of(substr($method, 3), Arr::get($parameters, 0, array())); } + + throw new \BadMethodCallException("Method [$method] is not defined on the View class."); } -} +} \ No newline at end of file