0byt3m1n1
Path:
/
home
/
mgatv524
/
criativa.mgaplay.com.br
/
vendor
/
illuminate
/
contracts
/
Validation
/
[
Home
]
File: Validator.php
<?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); }