芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/kwesioben.com/paymoney/vendor/laravel/framework/src/Illuminate/Validation/Rule.php
toArray(); } return new In(is_array($values) ? $values : func_get_args()); } /** * Get a not_in constraint builder instance. * * @param \Illuminate\Contracts\Support\Arrayable|array|string $values * @return \Illuminate\Validation\Rules\NotIn */ public static function notIn($values) { if ($values instanceof Arrayable) { $values = $values->toArray(); } return new NotIn(is_array($values) ? $values : func_get_args()); } /** * Get a required_if constraint builder instance. * * @param callable|bool $callback * @return \Illuminate\Validation\Rules\RequiredIf */ public static function requiredIf($callback) { return new RequiredIf($callback); } /** * Get a exclude_if constraint builder instance. * * @param callable|bool $callback * @return \Illuminate\Validation\Rules\ExcludeIf */ public static function excludeIf($callback) { return new ExcludeIf($callback); } /** * Get a prohibited_if constraint builder instance. * * @param callable|bool $callback * @return \Illuminate\Validation\Rules\ProhibitedIf */ public static function prohibitedIf($callback) { return new ProhibitedIf($callback); } /** * Get an enum constraint builder instance. * * @param string $type * @return \Illuminate\Validation\Rules\Enum */ public static function enum($type) { return new Enum($type); } /** * Get a file constraint builder instance. * * @return \Illuminate\Validation\Rules\File */ public static function file() { return new File; } /** * Get an image file constraint builder instance. * * @return \Illuminate\Validation\Rules\ImageFile */ public static function imageFile() { return new ImageFile; } /** * Get a dimensions constraint builder instance. * * @param array $constraints * @return \Illuminate\Validation\Rules\Dimensions */ public static function dimensions(array $constraints = []) { return new Dimensions($constraints); } }