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

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

        return $this->formBuilder->getMessageBag();
    }
public function getMessageBag ( ) { if ( Application :: getInstance ( ) -> runningInConsole ( ) ) { return $ this -> validator -> with ( $ this -> inputs ) -> getMessageBag ( ) ; } return $ this -> formBuilder -> getMessageBag ( ) ; }
Returns the validation messages.

@return MessageBag
Returns the validation messages .