public function putErrors($errors) {
        if (!is_array($errors) && !($errors instanceof MessageProvider)) {
            $errors = [$errors];
        }
        $this->errors->merge($errors);
    }
public function putErrors($errors) {
        if (!is_array($errors) && !($errors instanceof MessageProvider)) {
            $errors = [$errors];
        }
        $this->errors->merge($errors);
    }
public function putErrors ( $ errors ) { if ( ! is_array ( $ errors ) && ! ( $ errors instanceof MessageProvider ) ) { $ errors = [ $ errors ] ; } $ this -> errors -> merge ( $ errors ) ; }
Puts more errors in its message bag.
@return boolean
Puts more errors in its message bag .