trait Illuminate / Validation / Concerns / ReplacesAttributes

ReplacesAttributes

Methods

protected

replaceAcceptedIf ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the accepted_if rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDeclinedIf ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the declined_if rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceBetween ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the between rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDateFormat ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the date_format rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDecimal ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the decimal rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDifferent ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the different rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDigits ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the digits rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDigitsBetween ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the digits (between) rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMin ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the min rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMinDigits ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the min digits rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMax ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the max rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMaxDigits ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the max digits rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMissingIf ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the missing_if rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMissingUnless ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the missing_unless rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMissingWith ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the missing_with rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMissingWithAll ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the missing_with_all rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMultipleOf ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the multiple_of rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceIn ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the in rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceNotIn ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the not_in rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceInArray ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the in_array rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceRequiredArrayKeys ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the required_array_keys rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMimetypes ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the mimetypes rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceMimes ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the mimes rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceRequiredWith ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the required_with rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceRequiredWithAll ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the required_with_all rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceRequiredWithout ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the required_without rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceRequiredWithoutAll ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the required_without_all rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceSize ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the size rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceGt ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the gt rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceLt ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the lt rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceGte ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the gte rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceLte ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the lte rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceRequiredIf ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the required_if rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceRequiredIfAccepted ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the required_if_accepted rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceRequiredUnless ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the required_unless rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceProhibitedIf ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the prohibited_if rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceProhibitedUnless ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the prohibited_unless rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceProhibits ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the prohibited_with rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceSame ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the same rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceBefore ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the before rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceBeforeOrEqual ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the before_or_equal rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceAfter ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the after rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceAfterOrEqual ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the after_or_equal rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDateEquals ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the date_equals rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDimensions ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the dimensions rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceEndsWith ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the ends_with rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDoesntEndWith ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the doesnt_end_with rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceStartsWith ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the starts_with rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array
protected

replaceDoesntStartWith ( $message , $attribute , $rule , $parameters ) : string

Replace all place-holders for the doesnt_start_with rule.

Parameters

  • $message string
  • $attribute string
  • $rule string
  • $parameters array