W3cubDocs

/Laravel 5.4

ValidatesAttributes

trait ValidatesAttributes (View source)

Methods

string guessColumnForQuery(string $attribute)

Guess the database column from the given attribute name.

bool isValidFileInstance(mixed $value)

Check that the given value is a valid file instance.

Details

string guessColumnForQuery(string $attribute)

Guess the database column from the given attribute name.

Parameters

string $attribute

Return Value

string

bool isValidFileInstance(mixed $value)

Check that the given value is a valid file instance.

Parameters

mixed $value

Return Value

bool

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Validation/Concerns/ValidatesAttributes.html