trait ReplacesAttributes

Methods

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

Replace all place-holders for the accepted_if rule.

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

Replace all place-holders for the declined_if rule.

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

Replace all place-holders for the between rule.

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

Replace all place-holders for the date_format rule.

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

Replace all place-holders for the decimal rule.

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

Replace all place-holders for the different rule.

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

Replace all place-holders for the digits rule.

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

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

string
replaceEncoding(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the encoding rule.

string
replaceExtensions(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the extensions rule.

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

Replace all place-holders for the min rule.

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

Replace all place-holders for the min digits rule.

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

Replace all place-holders for the max rule.

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

Replace all place-holders for the max digits rule.

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

Replace all place-holders for the missing_if rule.

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

Replace all place-holders for the missing_unless rule.

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

Replace all place-holders for the missing_with rule.

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

Replace all place-holders for the missing_with_all rule.

string
replaceMultipleOf(mixed $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the multiple_of rule.

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

Replace all place-holders for the in rule.

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

Replace all place-holders for the not_in rule.

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

Replace all place-holders for the in_array rule.

string
replaceInArrayKeys(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the in_array_keys rule.

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

Replace all place-holders for the required_array_keys rule.

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

Replace all place-holders for the mimetypes rule.

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

Replace all place-holders for the mimes rule.

string
replacePresentIf(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the present_if rule.

string
replacePresentUnless(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the present_unless rule.

string
replacePresentWith(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the present_with rule.

string
replacePresentWithAll(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the present_with_all rule.

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

Replace all place-holders for the required_with rule.

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

Replace all place-holders for the required_with_all rule.

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

Replace all place-holders for the required_without rule.

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

Replace all place-holders for the required_without_all rule.

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

Replace all place-holders for the size rule.

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

Replace all place-holders for the gt rule.

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

Replace all place-holders for the lt rule.

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

Replace all place-holders for the gte rule.

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

Replace all place-holders for the lte rule.

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

Replace all place-holders for the required_if rule.

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

Replace all place-holders for the required_if_accepted rule.

string
replaceRequiredIfDeclined(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_if_declined rule.

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

Replace all place-holders for the required_unless rule.

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

Replace all place-holders for the prohibited_if rule.

string
replaceProhibitedIfAccepted(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the prohibited_if_accepted rule.

string
replaceProhibitedIfDeclined(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the prohibited_if_declined rule.

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

Replace all place-holders for the prohibited_unless rule.

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

Replace all place-holders for the prohibited_with rule.

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

Replace all place-holders for the same rule.

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

Replace all place-holders for the before rule.

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

Replace all place-holders for the before_or_equal rule.

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

Replace all place-holders for the after rule.

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

Replace all place-holders for the after_or_equal rule.

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

Replace all place-holders for the date_equals rule.

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

Replace all place-holders for the dimensions rule.

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

Replace all place-holders for the ends_with rule.

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

Replace all place-holders for the doesnt_end_with rule.

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

Replace all place-holders for the starts_with rule.

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

Replace all place-holders for the doesnt_start_with rule.

string
replaceDoesntContain(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the doesnt_contain rule.

Details

at line 17
protected string replaceAcceptedIf(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the accepted_if rule.

Parameters

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

Return Value

string

at line 29
protected string replaceDeclinedIf(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the declined_if rule.

Parameters

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

Return Value

string

at line 43
protected string replaceBetween(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the between rule.

Parameters

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

Return Value

string

at line 53
protected string replaceDateFormat(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the date_format rule.

Parameters

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

Return Value

string

at line 63
protected string replaceDecimal(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the decimal rule.

Parameters

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

Return Value

string

at line 79
protected string replaceDifferent(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the different rule.

Parameters

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

Return Value

string

at line 89
protected string replaceDigits(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the digits rule.

Parameters

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

Return Value

string

at line 99
protected string replaceDigitsBetween(string $message, string $attribute, string $rule, array $parameters)

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

Parameters

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

Return Value

string

at line 109
protected string replaceEncoding(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the encoding rule.

Parameters

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

Return Value

string

at line 119
protected string replaceExtensions(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the extensions rule.

Parameters

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

Return Value

string

at line 129
protected string replaceMin(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the min rule.

Parameters

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

Return Value

string

at line 139
protected string replaceMinDigits(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the min digits rule.

Parameters

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

Return Value

string

at line 149
protected string replaceMax(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the max rule.

Parameters

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

Return Value

string

at line 159
protected string replaceMaxDigits(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the max digits rule.

Parameters

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

Return Value

string

at line 169
protected string replaceMissingIf(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the missing_if rule.

Parameters

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

Return Value

string

at line 183
protected string replaceMissingUnless(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the missing_unless rule.

Parameters

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

Return Value

string

at line 196
protected string replaceMissingWith(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the missing_with rule.

Parameters

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

Return Value

string

at line 214
protected string replaceMissingWithAll(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the missing_with_all rule.

Parameters

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

Return Value

string

at line 225
protected string replaceMultipleOf(mixed $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the multiple_of rule.

Parameters

mixed $message
string $attribute
string $rule
array $parameters

Return Value

string

at line 235
protected string replaceIn(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the in rule.

Parameters

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

Return Value

string

at line 257
protected string replaceNotIn(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the not_in rule.

Parameters

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

Return Value

string

at line 267
protected string replaceInArray(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the in_array rule.

Parameters

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

Return Value

string

at line 279
protected string replaceInArrayKeys(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the in_array_keys rule.

Parameters

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

Return Value

string

at line 289
protected string replaceRequiredArrayKeys(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_array_keys rule.

Parameters

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

Return Value

string

at line 303
protected string replaceMimetypes(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the mimetypes rule.

Parameters

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

Return Value

string

at line 313
protected string replaceMimes(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the mimes rule.

Parameters

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

Return Value

string

at line 323
protected string replacePresentIf(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the present_if rule.

Parameters

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

Return Value

string

at line 336
protected string replacePresentUnless(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the present_unless rule.

Parameters

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

Return Value

string

at line 349
protected string replacePresentWith(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the present_with rule.

Parameters

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

Return Value

string

at line 367
protected string replacePresentWithAll(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the present_with_all rule.

Parameters

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

Return Value

string

at line 377
protected string replaceRequiredWith(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_with rule.

Parameters

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

Return Value

string

at line 395
protected string replaceRequiredWithAll(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_with_all rule.

Parameters

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

Return Value

string

at line 405
protected string replaceRequiredWithout(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_without rule.

Parameters

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

Return Value

string

at line 415
protected string replaceRequiredWithoutAll(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_without_all rule.

Parameters

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

Return Value

string

at line 425
protected string replaceSize(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the size rule.

Parameters

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

Return Value

string

at line 435
protected string replaceGt(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the gt rule.

Parameters

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

Return Value

string

at line 449
protected string replaceLt(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the lt rule.

Parameters

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

Return Value

string

at line 463
protected string replaceGte(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the gte rule.

Parameters

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

Return Value

string

at line 477
protected string replaceLte(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the lte rule.

Parameters

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

Return Value

string

at line 491
protected string replaceRequiredIf(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_if rule.

Parameters

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

Return Value

string

at line 505
protected string replaceRequiredIfAccepted(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_if_accepted rule.

Parameters

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

Return Value

string

at line 517
string replaceRequiredIfDeclined(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_if_declined rule.

Parameters

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

Return Value

string

at line 529
protected string replaceRequiredUnless(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the required_unless rule.

Parameters

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

Return Value

string

at line 558
protected string replaceProhibitedIf(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the prohibited_if rule.

Parameters

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

Return Value

string

at line 568
protected string replaceProhibitedIfAccepted(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the prohibited_if_accepted rule.

Parameters

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

Return Value

string

at line 578
string replaceProhibitedIfDeclined(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the prohibited_if_declined rule.

Parameters

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

Return Value

string

at line 588
protected string replaceProhibitedUnless(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the prohibited_unless rule.

Parameters

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

Return Value

string

at line 606
protected string replaceProhibits(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the prohibited_with rule.

Parameters

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

Return Value

string

at line 624
protected string replaceSame(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the same rule.

Parameters

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

Return Value

string

at line 636
protected string replaceBefore(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the before rule.

Parameters

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

Return Value

string

at line 650
protected string replaceBeforeOrEqual(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the before_or_equal rule.

Parameters

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

Return Value

string

at line 660
protected string replaceAfter(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the after rule.

Parameters

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

Return Value

string

at line 670
protected string replaceAfterOrEqual(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the after_or_equal rule.

Parameters

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

Return Value

string

at line 680
protected string replaceDateEquals(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the date_equals rule.

Parameters

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

Return Value

string

at line 690
protected string replaceDimensions(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the dimensions rule.

Parameters

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

Return Value

string

at line 708
protected string replaceEndsWith(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the ends_with rule.

Parameters

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

Return Value

string

at line 722
protected string replaceDoesntEndWith(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the doesnt_end_with rule.

Parameters

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

Return Value

string

at line 736
protected string replaceStartsWith(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the starts_with rule.

Parameters

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

Return Value

string

at line 746
protected string replaceDoesntStartWith(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the doesnt_start_with rule.

Parameters

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

Return Value

string

at line 760
protected string replaceDoesntContain(string $message, string $attribute, string $rule, array $parameters)

Replace all place-holders for the doesnt_contain rule.

Parameters

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

Return Value

string