Property | Type | Description | |
---|---|---|---|
$setting | |||
$validator |
Method | Description | |
---|---|---|
__construct ( App\Services\Validation\ValidableInterface $validator, App\Repositories\Setting\SettingInterface $setting ) : void | Create a new form service instance. | |
errors ( ) : array | Return validation errors. | |
update ( array $input ) : boolean | Update an existing setting. |
Method | Description | |
---|---|---|
valid ( array $input ) : boolean | Test whether form validator passes. |
public __construct ( App\Services\Validation\ValidableInterface $validator, App\Repositories\Setting\SettingInterface $setting ) : void | ||
$validator | App\Services\Validation\ValidableInterface | |
$setting | App\Repositories\Setting\SettingInterface | |
return | void |