public function getMessageBag()
    {
        if (Application::getInstance()->runningInConsole()) {
            return $this->validator->with($this->inputs)->getMessageBag();
        }

        return $this->formBuilder->getMessageBag();
    }