App\Http\Requests\Backend\NewsCreateRequest::rules PHP Méthode

rules() public méthode

Get the validation rules that apply to the request.
public rules ( ) : array
Résultat array
    public function rules()
    {
        return ['title' => 'required|max:255', 'ueditor' => 'required'];
    }