isMethod('post')) return []; return [ 'to' => [ 'required', Rule::in(config('app.areafilefix')), ], 'fftn_id' => [ 'required', Rule::in(Setup::findOrFail(config('app.id'))->system->akas->pluck('id')), ], 'tftn_id' => [ 'required', Rule::in($this->route('o')->akas->pluck('id')), ], 'subject' => 'required|min:1|max:8', 'msg' => 'required|min:1', ]; } }