user(); return $user->can('view', $this->client); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ ]; } public function prepareForValidation() { $input = $this->all(); $this->replace($input); } }