From 78d233fea72b8cb48cc17788fa5d73c6b319c1f3 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Mon, 10 Aug 2015 21:01:41 +0200 Subject: [PATCH] Skip validator --- src/Console/MetaCommand.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Console/MetaCommand.php b/src/Console/MetaCommand.php index d6f30a2..30de843 100644 --- a/src/Console/MetaCommand.php +++ b/src/Console/MetaCommand.php @@ -71,6 +71,11 @@ class MetaCommand extends Command { $bindings = array(); foreach ($this->getAbstracts() as $abstract) { + // Validator causes problems in Lumen + if ($abstract == 'validator') { + continue; + } + try { $concrete = $this->laravel->make($abstract); if (is_object($concrete)) {