/** * @param Command $command * @return \Illuminate\Support\MessageBag */ public function validationErrors(Command $command) { $validator = $this->commandTranslator->toValidator($command); return $this->app->make($validator)->errors($command); }