user()->can('manage_backups'); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'file_name' => 'max:20|alpha_dash', ]; } }