user()->can('manage_agency'); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'task_id' => 'required', 'job_id' => 'required', ]; } }