FormatsMessages (Validation\Concerns)
FormatsMessages
trait FormatsMessages (View source)
Traits
ReplacesAttributes |
Methods
string | makeReplacements(string $message, string $attribute, string $rule, array $parameters) Replace all error message place-holders with actual values. | |
string | getDisplayableAttribute(string $attribute) Get the displayable name of the attribute. | |
string | getDisplayableValue(string $attribute, mixed $value) Get the displayable name of the value. |
Details
string makeReplacements(string $message, string $attribute, string $rule, array $parameters)
Replace all error message place-holders with actual values.
string getDisplayableAttribute(string $attribute)
Get the displayable name of the attribute.
string getDisplayableValue(string $attribute, mixed $value)
Get the displayable name of the value.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Validation/Concerns/FormatsMessages.html