D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
www
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Validation
/
Rules
/
Filename :
In.php
back
Copy
<?php namespace Illuminate\Validation\Rules; class In { /** * The name of the rule. */ protected $rule = 'in'; /** * The accepted values. * * @var array */ protected $values; /** * Create a new in rule instance. * * @param array $values * @return void */ public function __construct(array $values) { $this->values = $values; } /** * Convert the rule to a validation string. * * @return string */ public function __toString() { return $this->rule.':'.implode(',', $this->values); } }