Factory

Factory

interface Factory (View source)

Methods

Validator make(array $data, array $rules, array $messages = array(), array $customAttributes = array())

Create a new Validator instance.

void extend(string $rule, Closure|string $extension, string $message = null)

Register a custom validator extension.

void extendImplicit(string $rule, Closure|string $extension, string $message = null)

Register a custom implicit validator extension.

void replacer(string $rule, Closure|string $replacer)

Register a custom implicit validator message replacer.

doc_Laravel
2016-11-02 16:17:42
Comments
Leave a Comment

Please login to continue.