protected getValidationService ( string $service, array $inputs = [] ) : Object | ||
$service | string | |
$inputs | array | |
Результат | Object |
protected function getValidationService($service, array $inputs = array())
{
$class = '\\' . ltrim(Config::get("cpanel::validation.{$service}"), '\\');
return new $class($inputs);
}