[L6] Add support for custom model validation logic

This commit is contained in:
Dane Everitt 2019-09-04 22:19:57 -07:00
parent 5b4a65a60c
commit c586157dc4
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
19 changed files with 226 additions and 330 deletions

View file

@ -24,7 +24,7 @@ class Setting extends Validable
/**
* @var array
*/
protected static $applicationRules = [
public static $validationRules = [
'key' => 'required|string|between:1,255',
'value' => 'string',
];