Added vendor/ directory for Composer's installed files
This commit is contained in:
39
vendor/illuminate/contracts/Validation/Validator.php
vendored
Executable file
39
vendor/illuminate/contracts/Validation/Validator.php
vendored
Executable file
@ -0,0 +1,39 @@
|
||||
<?php namespace Illuminate\Contracts\Validation;
|
||||
|
||||
use Illuminate\Contracts\Support\MessageProvider;
|
||||
|
||||
interface Validator extends MessageProvider {
|
||||
|
||||
/**
|
||||
* Determine if the data fails the validation rules.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function fails();
|
||||
|
||||
/**
|
||||
* Get the failed validation rules.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function failed();
|
||||
|
||||
/**
|
||||
* Add conditions to a given field based on a Closure.
|
||||
*
|
||||
* @param string $attribute
|
||||
* @param string|array $rules
|
||||
* @param callable $callback
|
||||
* @return void
|
||||
*/
|
||||
public function sometimes($attribute, $rules, callable $callback);
|
||||
|
||||
/**
|
||||
* After an after validation callback.
|
||||
*
|
||||
* @param callable|string $callback
|
||||
* @return $this
|
||||
*/
|
||||
public function after($callback);
|
||||
|
||||
}
|
Reference in New Issue
Block a user